Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Linux command: rsync
(edit)
Revision as of 09:28, 3 August 2015
7 bytes removed
,
09:28, 3 August 2015
→Create local backups
Line 1:
Line 1:
== Create local backups ==
== Create local backups ==
−
rsync -av --delete /
Directory1
/ /
Directory2
/
+
rsync -av --delete /
Origen
/ /
Destino
/
The code above will synchronize the contents of Directory1 to Directory2, and leave no differences between the two. <br />
The code above will synchronize the contents of Directory1 to Directory2, and leave no differences between the two. <br />
If rsync finds that Directory2 has a file that Directory1 does not, it will delete it. <br />
If rsync finds that Directory2 has a file that Directory1 does not, it will delete it. <br />
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version