Created
August 19, 2021 05:32
-
-
Save OneCDOnly/c6faa21b3f5ad53b43f16ac425b0f0e6 to your computer and use it in GitHub Desktop.
make all backup NZBs zero bytes
This file contains 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
find /media/downloads/sabnzbd/nzb/backup/ -type f -name "*.nzb.*" ! -size 0 -print0 | xargs -0 truncate -s 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment