linux move files to current directory code example
Example 1: linux move all files up a directory
mv myfolder/* .
Example 2: linux move file
mv [options] <source-filepath> <destination-filepath>
mv "C:\Users\File_Name.txt" "C:\Users\SubFolder\File_Name.txt"
mv -u "C:\Users\File_Name.txt" "C:\Users\SubFolder\File_Name.txt"
OPTION DESCRIPTION
mv -f force move by overwriting destination file without prompt
mv -i interactive prompt before overwrite
mv -u update - move when source is newer than destination
mv -v verbose - print source and destination files
Example 3: move command in linux
mv filename dirname
Example 4: move directory with files linux
how to move a folder/Directory in Linux with files
mv /path/to/source /path/to/destination
mv Reports tools/Reports