mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-01 05:21:06 +01:00
15 lines
618 B
Plaintext
15 lines
618 B
Plaintext
# Move a file from one place to another
|
|
mv ~/Desktop/foo.txt ~/Documents/foo.txt
|
|
|
|
# Move a file from one place to another and automatically overwrite if the destination file exists
|
|
# (This will override any previous -i or -n args)
|
|
mv -f ~/Desktop/foo.txt ~/Documents/foo.txt
|
|
|
|
# Move a file from one place to another but ask before overwriting an existing file
|
|
# (This will override any previous -f or -n args)
|
|
mv -i ~/Desktop/foo.txt ~/Documents/foo.txt
|
|
|
|
# Move a file from one place to another but never overwrite anything
|
|
# (This will override any previous -f or -i args)
|
|
mv -n ~/Desktop/foo.txt ~/Documents/foo.txt
|