Merge pull request #373 from kevinawoo/patch-1

new cheat for mv: moving many files into a dir
This commit is contained in:
Chris Allen Lane 2018-08-20 11:37:14 -04:00 committed by GitHub
commit d6f12c4397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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