On 06/23/11 12:28, Mete Rodoper wrote: > Hello, > > Is there a way to direct the put command's stdout to a file? Can the > progress that’s being printed to the screen be directed to a file? > Stdout ">" and stderr "2>" didn’t work. > > Thanks, > > Mete
How about tee? Here's what I use in cron: /etc/scripts/daily_backup_for_s3.sh 2>&1 |\ tee /var/log/s3_backup_`/bin/date +\%d`.out |\ mail -s "Daily S3 Backup" root Jeff ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ S3tools-general mailing list S3tools-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/s3tools-general