Answers for "move all files to a directory or created the directory linux"

4

linux move all files up a directory

mv myfolder/* .
Posted by: Guest on July-05-2020
0

Move all files from a folder in linux

mv source_path/* destination_path/

here you have to put forward slash and * after source path so that it will take files inside source_path instead of the complete source directory.
The above command moves all files (unless they are hidden) in the source directory to the destination directory.
Posted by: Guest on November-10-2021

Code answers related to "move all files to a directory or created the directory linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language