# Date variables
log_year=`date "+%Y"`
log_month=`date "+%B"`
log_day=`date "+%d"`
# Filename format YYYY_MM_DD--HHMM.zip
filename=$log_year"-"$log_month"-"$log_day"--"/*".zip"
The problem is I don't really care about the stuff after the '--'. I.e. from the CLI I'd just 'ls 2013-August-18--*.zip' to get all the files with that date in the file name. How can I do that in a bash script?
--
Caesar si viveret, ad remum dareris.
Mark Haney
Software Developer/Consultant
mark.haney@gmail.com