Answers for "move all files under a directory bash"

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 "move all files under a directory bash"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language