Hide "File has vanished" warnings from rsync in zzz_evobackup script #36
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Can we hide the "File has vanished" warning ?
This is generatig too much noise for garbage :/
Rsync itself doesn't offer a way to filter those warnings, but the issue is so common that they provided a wrapper script to eliminate them : https://git.samba.org/?p=rsync.git;a=blob_plain;f=support/rsync-no-vanished;hb=HEAD
It looks like this :
Do you think we should embed this in the backup script, use the wrapper as an external script or don't use this at all?
Personally I quite like the idea if there are no drawbacks using this tiny and a little bit ugly hack. :)