3 # This file just has some ideas about how to do the rsync command with the list
4 # of file produced by lsbackups
7 rsync_opts='-W -H -l -p -t -g -o -0 --files-from=-'
9 other_opts='--stats --progress'
11 # This would something like be /home
14 # This would be something like /mnt/dvdisoimage
17 # # For directories ( Do I even need this? I don't think so. )
18 # find $srcdir -type d -print0 | # this just produces an example null-delimited list.
19 # rsync -d $rsync_opts $other_opts / $dstdir
21 # Should also include directories in there
22 find $srcdir \( -type f -o -type l -o -type d \) -print0 | # this just produces an example null-delimited list.
23 rsync $rsync_opts $other_opts / $dstdir