When copying folders and entire subtrees what is the difference between cp and rsync
Upon my initial looking both cp and rsync will copy an entire directory structure. That being said, what is the purpose for each and which is better? cp -R $source $destination vs rsync -auq $source $destination I was trying to look into and figure this out more, but they both seemed to copy an entire directory around the same speed. Does one leverage another? When cloning someone's HD which is the best course of action and why?
I think the main purpose of rsync not to copy directory from to the same system or machine It efficiently copies and sync files to or from a remote system. Remote system like two different machines and if you need the difference if you use them locally see this link
rsync don't sync the sub folders?
scp to rsync conversion
Local rsync inclusion/exclusion
rsync: entrylevel 1
Visual SVN Server: Guide on Pre/Post Commit Hooks
rsync symlink help
cygwin rsync protocol error
rsync vs SyncML (Funambol)
Explain rsync's --blocking-io option
Backup gitosis repositories with rsync?
minimal rsync installation on windows xp?
Rsynch and SSH: Only rename folder when renamed from source
rsync --delete --files-from=list / dest/ does not delete unwanted files
Have rsync only report files which were updated
Mirroring file moves with rsync