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:
-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
There are 2 alternatives - vote for the best!
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
If you can do better, submit your command here.
You must be signed in to comment.