Answers for "how to move all files from a directory in linux"

7

linux move everything in a directory to another directory

mv  -v ~/Downloads/* ~/Videos/
Posted by: Guest on April-03-2020
4

linux move all files up a directory

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

ubuntu move folder to another directory

sudo mv /root/folder1 /home/folder2/
Posted by: Guest on September-08-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
0

bash command to move all files to a dir

/*A bash command to move all the files in current dir to dirDest dir.
* The sign '*' stands for 'all files'
*/

mv * /dirDest
Posted by: Guest on August-01-2021

Code answers related to "how to move all files from a directory in linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language