Skip to content

Instantly share code, notes, and snippets.

@backroot
Created November 13, 2019 08:02
Show Gist options
  • Save backroot/92b764ba2472714d17aa89824c6a5a02 to your computer and use it in GitHub Desktop.
Save backroot/92b764ba2472714d17aa89824c6a5a02 to your computer and use it in GitHub Desktop.
Delete for Bacula Cloud Cache
#!/usr/bin/bash
find /opt/bacula/backups -type f | grep -v "part.1" | xargs rm -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment