mirror of https://github.com/cheat/cheat.git
Merge pull request #373 from kevinawoo/patch-1
new cheat for mv: moving many files into a dir
This commit is contained in:
commit
d6f12c4397
|
@ -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