Hi,
I wanted to write a Perl script that searches a given folder for all files that have filenames based on the previous day's date.
eg. if the filenames of the files in the said folder are ....
server1_Statist ics_0.20090618T 124050
server1_Statist ics_0.20090619T 080652
server1_Statist ics_0.20090220T 124502
server1_Statist ics_0.20090621T 105927
server1_Statist ics_0.20090621T 105638
server1_Statist ics_0.20090621T 105611
server1_Statist ics_0.20090621T 105518
server1_Statist ics_0.20090621T 105108
find all files with yesterday's date(20090621) and concatenate their contents into a single file with the filename "server1_Statis tics_20090621"
I wanted to write a Perl script that searches a given folder for all files that have filenames based on the previous day's date.
eg. if the filenames of the files in the said folder are ....
server1_Statist ics_0.20090618T 124050
server1_Statist ics_0.20090619T 080652
server1_Statist ics_0.20090220T 124502
server1_Statist ics_0.20090621T 105927
server1_Statist ics_0.20090621T 105638
server1_Statist ics_0.20090621T 105611
server1_Statist ics_0.20090621T 105518
server1_Statist ics_0.20090621T 105108
find all files with yesterday's date(20090621) and concatenate their contents into a single file with the filename "server1_Statis tics_20090621"
Comment