mirror of https://github.com/cheat/cheat.git
new cheat for mv: moving many files into a dir
This commit is contained in:
parent
aa1e12625e
commit
3fe72a03cc
|
@ -12,3 +12,6 @@ mv -i ~/Desktop/foo.txt ~/Documents/foo.txt
|
||||||
# Move a file from one place to another but never overwrite anything
|
# Move a file from one place to another but never overwrite anything
|
||||||
# (This will override any previous -f or -i args)
|
# (This will override any previous -f or -i args)
|
||||||
mv -n ~/Desktop/foo.txt ~/Documents/foo.txt
|
mv -n ~/Desktop/foo.txt ~/Documents/foo.txt
|
||||||
|
|
||||||
|
# Move listed files to a directory
|
||||||
|
mv -t ~/Desktop/ file1 file2 file3
|
||||||
|
|
Loading…
Reference in New Issue