Sync: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:Hacking = Rsync = == From there to here == <pre> rsync -avz --size-only --delete user@remote_host:/path/to/remote/directory/ /path/to/local/directory/ </pre> = AWS S3 Sync = == From here to there, with delete == <pre> aws s3 sync /path/to/remote/directory/ s3://your-s3-bucket-name/path/in/bucket/ --delete --size-only </pre>") |
|||
Line 5: | Line 5: | ||
rsync -avz --size-only --delete user@remote_host:/path/to/remote/directory/ /path/to/local/directory/ | rsync -avz --size-only --delete user@remote_host:/path/to/remote/directory/ /path/to/local/directory/ | ||
</pre> | </pre> | ||
7766956 ./discussion | |||
= AWS S3 Sync = | = AWS S3 Sync = | ||
== From here to there, with delete == | == From here to there, with delete == |
Revision as of 22:07, 25 September 2023
Rsync
From there to here
rsync -avz --size-only --delete user@remote_host:/path/to/remote/directory/ /path/to/local/directory/
7766956 ./discussion
AWS S3 Sync
From here to there, with delete
aws s3 sync /path/to/remote/directory/ s3://your-s3-bucket-name/path/in/bucket/ --delete --size-only