mirror of
https://github.com/cheat/cheat.git
synced 2024-11-16 17:08:29 +01:00
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
1 changed files with 3 additions and 0 deletions
|
@ -12,3 +12,6 @@ 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
|
||||
|
||||
# Move listed files to a directory
|
||||
mv -t ~/Desktop/ file1 file2 file3
|
||||
|
|
Loading…
Reference in a new issue