Quote:
Originally Posted by druuna
Hi,
You are halfway there already:
The DATE variable is set in your script but not used. Change it to DATE=`date +%Y%m%d` (remove the %H part).
Now you can change the *.* part into: *${DATE}*
This should target today's files.
Hope this helps.
|
hi, i tried to edit the script and it doesn't work. I just changed *.* part to *${DATE}*
and change the date to DATE=`date +%Y%m%d`.
it just execute and it doesn't FTP any file
thanks