aports/cron/mail/cron-daily

4 lines
149 B
Plaintext
Raw Normal View History

2021-01-13 15:21:08 +00:00
#!/bin/sh
/sbin/btrfs subvolume delete /var/mail/snapshots/`date +"%u"`
/sbin/btrfs subvolume snapshot -r /var/mail /var/mail/snapshots/`date +"%u"`