Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zemo
on July 18, 2012
|
parent
|
context
|
favorite
| on:
GIT is the new FTP
...or use rsync?
rsync -avz somehost:/path/to/src /path/to/dest
jackalope
on July 18, 2012
[–]
For a more accurate sync, you can also delete obsolete files on the destination:
rsync -avz --delete src dest
This assumes there are no files you want to keep on the destination, of course. You can exclude them or reorganize to keep them safe.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: