linux command to move folder from one directory to another code example
Example 1: how to move a directory in linux
mv /path/to/source /path/to/dest
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