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