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