The short answer is that your script should be: #!/bin/bash sudo rdiff-backup --include-globbing-filelist /home/jjj/rdiff_excludes.txt / /media/disk2/Full_system_backup 2> /home/jjj/rdiff-errors.txt sudo rdiff-backup --list-increment-sizes /media/disk2/Full_system_backup > /home/jjj/rdiff-stats.txt
Notice the ">" on the first line is now "2>", which means "redirect the standard error" (file descriptor #2). For more info, see: http://blog.commandlinekungfu.com/2009/06/episode-47-fun-with-output-redirection.html -- Hal Pomeranz, Founder/CEO Deer Run Associates [email protected] Network Connectivity and Security, Systems Management, Training _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
