how to move files from sub folder to main folder linux code example Example: linux move folder and subfolders to parent cd to/the/dir mv * ../