Hi Ben Ben Crane wrote: > > Anyone know if the perl module File::Copy can handle > date checks? Or whether there is another module that > only deals with copying files that are newer than the > ones they are over-writing? > > Similar to the Xcopy /D: command > [I don't want to use a batch file at the moment in > case someone wants to know why I'm not using Xcopy]
File::Copy won't handle dates directly. Either use 'stat' to check the date of each file before it is copied or use File::NCopy and write your own 'file_check' routine. Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]