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