22 October 2012

copy files of certain date range

copy files modified on 2012.10.13 only
find . -newermt "2012-10-12 23:59:59" -not -newermt "2012-10-14 00:00:00" -exec cp -p "{}" /tmp \;

No comments:

Post a Comment