Skip to content

Instantly share code, notes, and snippets.

@akochepasov
Last active September 29, 2025 19:47
Show Gist options
  • Save akochepasov/24bf91ae7992c66efc55b5802ab810a9 to your computer and use it in GitHub Desktop.
Save akochepasov/24bf91ae7992c66efc55b5802ab810a9 to your computer and use it in GitHub Desktop.

Revisions

  1. akochepasov revised this gist Sep 29, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions rsync.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1,2 @@
    # Complete sync, but skip book from the list
    rsync -avu --delete --exclude=books /dir/from /dir/to
  2. akochepasov created this gist Sep 29, 2025.
    1 change: 1 addition & 0 deletions rsync.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    rsync -avu --delete --exclude=books /dir/from /dir/to