Find Files In Specific Range Linux

Find Files In Specific Range Linux

This is useful should you need to copy/search for files modified within a specified time range.

The base command will be provided below, which searches from Jan 1st 2012 -> Jun 1st 2012. Modify according to your needs and filter through "cp" for file copy/move requirements.

touch -t 201201010000 begin; touch -t 201206012359.59 end; find /pathtosearch -newer begin -a ! -newer end