On Sat, Jun 27, 2009 at 4:16 PM, John Jason Jordan<[email protected]> wrote: > I'm sure this is trivial for most people here, but man bash is massive > and I can't figure it out. > > In an effort to bend rdiff-backup to my will I have created the > following script: > > #!/bin/bash > sudo rdiff-backup --include-globbing-filelist /home/jjj/rdiff_excludes.txt / > /media/disk2/Full_system_backup > /home/jjj/rdiff-errors.txt Change to this sudo rdiff-backup --include-globbing-filelist /home/jjj/rdiff_excludes.txt / /media/disk2/Full_system_backup &> /home/jjj/rdiff-errors.txt
> sudo rdiff-backup --list-increment-sizes /media/disk2/Full_system_backup > > /home/jjj/rdiff-stats.txt > > It is a bash shortcut that I found when I was doing long makes that I had to analyze. This works on the command line also. It does not work from things like cron which don't use a shell to process the file. _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
