Re: a question related to file selection

2009-01-23 Thread Owen
On Thu, 22 Jan 2009 17:16:00 -0500 "Li, Aiguo (NIH/NCI) [E]" wrote: > Hi all, > > > > I need copy files from a directory daily to a folder. How can I > select files based on dates that were created? It will depend on the file naming format, for example, if the files are named 20090123.blah.

Re: a question related to file selection

2009-01-23 Thread Ralf Peng
2009/1/23 Li, Aiguo (NIH/NCI) [E] : > Hi all, > > > > I need copy files from a directory daily to a folder. How can I select > files based on dates that were created? > for copying a file, use File::Copy: http://search.cpan.org/~nwclark/perl-5.8.9/lib/File/Copy.pm to get file's last modification