find / -daystart -mtime +41 -mtime -408 \ -printf "%M %n %u %g %10s %TY-%Tm-%Td %Ta %TH:%TM:%TS %h/%f\n" | awk '($7=="Fri"){print}'
Adjust the-printf
as required, I've made it look close tols -l
here.%T
(and%A
%C
) let you usestrftime()
formatting for timestamps,%Ta
being the day of the week. (You may need to adjust the day ranges 41 - 408, but that's really just an optimisation, you can justgrep 2012
, or adjust-printf
to make it easier to grep.)