Regular commit
[backups/.git] / scripts / rsync-cmd.sh
1 #!/bin/sh
2
3 # This file just has some ideas about how to do the rsync command with the list
4 # of file produced by lsbackups
5
6 [ $# == 1 ] || exit 1
7 [ -d $1   ] || exit 1
8
9 # -H ? -W ?
10 rsync_opts='-W -H -l -p -t -g -o -0 --files-from=-'
11
12 other_opts='--stats --progress'
13
14 # Should also include directories in there
15 rsync $rsync_opts $other_opts / $1