Perl Monk, Perl Meditation | |
PerlMonks |
Re: Epoch get all files with same dayby jethro (Monsignor) |
on Aug 15, 2012 at 11:31 UTC ( [id://987544]=note: print w/replies, xml ) | Need Help?? |
Where do you have problems? With the localtime() function you can get the day and month out of the epoch time. Or use one of the many date modules like DateTime. For the copying of the files you might use the shell with system("cat $sourcefile >> file_${date}.txt");
In Section
Seekers of Perl Wisdom
|
|