2 Commits

Author SHA1 Message Date
c28dc76afe snapshots 2025-09-25 13:37:47 +02:00
5ac717f75f Merge pull request 'use XDG_CONFIG_DIR instead home for tmux' (#4) from feature/use-xdg-config-tmux into main
Reviewed-on: #4
2025-09-25 13:21:52 +02:00

6
snapshots.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/ash
for u in $(ls /home); do
zfs snapshot tank/ROOT/homes/$u@$(date "+%Y%m%d")
zfs destroy tank/ROOT/homes/$u@$(date --date="-5 days" "+%Y%m%d")
done