I want to automate the following commands so that I could run it as a cronjob on my Solaris10 server:
I have a source directory :
The files are like
I know the file name part except for the timestamp part (1356652700). Each time the cron is run, the timestamp part of the set of files will be different. In the next run I will probably have these in the source: 1356658200.file1.dat.bz2.cor , 1356658200.file2.dat.bz2.cor and 1356658200.file1.dat.bz2.cor.