Last active
October 24, 2025 08:24
-
-
Save henri/4be20d3cef767ffac46230de37d89c7a to your computer and use it in GitHub Desktop.
rsync vanished files removal wrapper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| rsync "$@" 2> >(grep -v vanished) | |
| ret=$? | |
| ((ret==24)) && exit 0 || exit $ret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment