Re: Bash question

2009-03-10 Thread Greg Wooledge
On Sun, Mar 08, 2009 at 03:56:30PM -0700, jenea wrote: > This is my script: > = > #!/bin/bash > today_day=$(echo `date +"'%e %b %Y'"`) > echo `...` is usually redundant. In this case, it definitely is. You only need: today_day=$

Bash question

2009-03-10 Thread jenea
tar -cvz --newer '22 Mar 2009' -f /mnt/usb_backup/backup/diff/backupFull_`date +%Y%m%d`.tgz /mnt/mirror80gb/ My question is: How can i pass the variable's content into the tar line so in the end it looks like this --- > '22 Mar 2009' Thank you. -- View this message in context: http://www.nabble.com/Bash-question-tp22404163p22404163.html Sent from the Gnu - Bash mailing list archive at Nabble.com.