move all files to parent directory ubuntu code example Example: linux move folder and subfolders to parent cd to/the/dir mv * ../