Skip to content

Instantly share code, notes, and snippets.

@OneCDOnly
Created August 19, 2021 05:32
Show Gist options
  • Save OneCDOnly/c6faa21b3f5ad53b43f16ac425b0f0e6 to your computer and use it in GitHub Desktop.
Save OneCDOnly/c6faa21b3f5ad53b43f16ac425b0f0e6 to your computer and use it in GitHub Desktop.
make all backup NZBs zero bytes
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