Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Find all files created after a certain date
Andy Knipp
I was requested to get a list of all files created after a certain date.
1st plan was:
foreach $file
$date = `iwattrib $file crdate`;
However that date returns the date the version was created, not when the object was created.
Only option I can think of (which will be painfully slow)
foreach $file
get crdate
get previous_version
while (crdate > DATE && previous_version_exists)
get previous_version
get crdate
if (! previous version and crdate > DATE) {FOUND ONE}
end while
Any better approaches ?
Am I missing something ?
Tips/Pointers/RTFMs appreciated
Andy
Find more posts tagged with
Comments
There are no comments yet