commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
a : to keep files permissions
--no-whole file : use rsync?s delta-transfer algorithm
--inplace : writes the updated data directly to the destination file
optionnal -> add --remove-source-files to mv instead of cp
There is 1 alternative - vote for the best!
-r for recursive (if you want to copy entire directories)
src for the source file (or wildcards)
dst for the destination
--progress to show a progress bar
If you can do better, submit your command here.
You must be signed in to comment.