Find files in a date range?

Dave M DaveM at Mich.Com
Sat Jul 28 00:19:54 UTC 2007


Is there a way to use 'find' to traverse a directory tree and print the 
full paths to files in a date range? I can do:

$find -L ~/PodCast -name *.mp3 -type f -printf "%h/%f\t%Ty%Tm%Td\n"

to print the file names and modified dates but I also need to limit the 
output to a range of modified dates. For example 070720 (July 20th 2007) to 
070727 (July 27th 2007).

-------------------------------
Dave M
Davem (at) Mich (dot) Com
Ann Arbor, Mich. USA

Protect your digital rights: http://www.eff.org
"The 'Analog Holes' they want to stop up are our eyes, ears and mouths."





More information about the ubuntu-users mailing list