using variables in wget etc
i have a cron script that tars up some stuff to a tar file that appends the days date to the filename, and then uploads it offsite
Works great, uploads fine
tar -cf backup_`date +%Y-%m-%d`.tar /home
perl ftpput.pl --user=username --pass=password7 --dir=backup --binary --server=ftp.backup.com backup_`date +%Y-%m-%d`.tar
However on another location, Im trying to grab that file, and extract it, but wget doesnt seem to like the date variable and comes back with a 404
Is there any way of using wget with a date variable like that?
02:28:09 ERROR 404: Not Found.
(wasnt sure to post this in linux or scripting forum so plz move if needed)