rsync


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

Related Links

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 Encryption
rsync --delete --files-from=list / dest/ does not delete unwanted files
Have rsync only report files which were updated
Mirroring file moves with rsync

Categories

HOME
compiler-construction
vbscript
keycloak
dictionary
plone
relative-path
hashmap
analysis
rdf
jxls
win32gui
wamp
convolution
tomcat6
modx-revolution
zend-framework3
flask-wtforms
serverless-framework
transformation
ef-migrations
finite-automata
serilog
reactcsstransitiongroup
pythonanywhere
normalizr
oxyplot
swingx
sox
wkwebview
mmap
url-scheme
user-interaction
tooltipster
replaceall
log4js-node
google-cloud-nl
galsim
pim
cloud-code
mapbox-gl
host
suricata
web-mining
sharefile
document.write
reactive-cocoa-5
node-sass
google-datalayer
scrollable
dds
boost-multi-index
dotnetzip
statsd
windows-mobile-6.5
specrun
migradoc
time-and-attendance
dstu2-fhir
asp.net-4.5
firebaseui
essence
suffix-tree
pervasive-sql
separator
execute
prerequisites
t4mvc
dukescript
ideamart
mono-embedding
sailfish-os
oberon
web-controls
e10s
bigbluebutton
clicktag
wordpress-theme-customize
uitouch
funcunit
poller
centos5
html5-notifications
cdc
spring-io
web2py-modules
dbconnection
eclipse-memory-analyzer
back-stack
mylyn
mqx
drools-planner
delphi-6
free-variable
browser-detection
jquery-knob
nsnetservice
rdoc
wse3.0
jquery-ui-layout
asyncfileupload
adk
gwt-ext
gcj
joyent
hamachi
digest-authentication
icanhaz.js
fixed-width
photoshop-cs4

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App