linux command to move a file to another directory
mv file dir# Linux - Bash
# syntax:
mv [options] <source-filepath> <destination-filepath>
# example-1 (fundamental - no switches):
mv "C:\Users\File_Name.txt" "C:\Users\SubFolder\File_Name.txt"
# example-2 (fundamental - with switches):
mv -u "C:\Users\File_Name.txt" "C:\Users\SubFolder\File_Name.txt"
# Switches
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 filesmv filename directoryname
Also in Shell:
- terminal how to find a file name
- debian install tcpflow
- decompress tar.gz
- pyglet linux
- check commit history git
- install docker debain
- fast rsync
- Change Git commit user name and author
- php mysqldump terminal
- linux while loop
- change remote to use ssh git command
- linux install ifconfig
- mysqldump
- git find when file was deleted
- how to install pytorch 0.4.1
- linux add to path
- upgrade .net core 2.2 to 3.1
- build file.go ubuntu
- clone repository git
- how to make maven clean install faster in eclipse
- what does pro mean in github
- xbox 360 wireless adapter linux
- ubuntu view disk space ec2
- linux how to see directory data usage