Find Files From A Specific Year
by dervish on Nov.07, 2013, under Linux
Find files that were last modified in 2010:
ls -la | awk ‘{ if ( $8==2010) printf $9″\n” }’
Example:
$ ls -la | awk ‘{ if ( $8==2010) printf $9″\n” }’
./acr469.dat.19225756.processed
$ ls -la ./acr469.dat.19225756.processed
-rw-rw-r– 1 owner group 44280 Dec 31 2010 ./acr469.dat.19225756.processed
Leave a Reply
You must be logged in to post a comment.