View Single Post
Old Apr 10th, 2005, 1:10 AM   #8
raghavendra
Newbie
 
Join Date: Apr 2005
Location: Bangalore
Posts: 14
Rep Power: 0 raghavendra is on a distinguished road
Send a message via Yahoo to raghavendra
Hi
If I try that command in ther terminal it works.
But if I use the same thing in a bash script it does not

#!/bin/bash
/bin/tar -zcpf /home/raghu/cron/touch `date +%m%y%d`.tar.gz /home/raghu/.gaim/logs/yahoo/raghavendra83

It creates a file with name touch and not a file with the filename of date
What should I do to solve this?
raghavendra is offline   Reply With Quote