Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo "Trimming old backups"
- cd "/home/[user]/Dropbox/Public/Minecraft/world-backups/"
- ls world*.zip | head -n -5 | xargs rm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement