nix-config/misc/backup.sh

5 lines
78 B
Bash
Executable file

#!/bin/sh
cd /home/horseman
tar -cf backups/$(date +%Y-%m-%d).tar Documents