File: backup

package info (click to toggle)
fex 20160919-2
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 1,944 kB
  • sloc: perl: 17,699; sh: 346; makefile: 67
file content (4 lines) | stat: -rwxr-xr-x 145 bytes parent folder | download | duplicates (3)
1
2
3
4
#!/bin/sh
mkdir -p $HOME/backup/spool 2>/dev/null
cd $HOME/spool
rsync -aRH --delete --exclude "*/*@*.*" --delete-excluded * $HOME/backup/spool/