[geeks] find - having a senior moment
Brian Dunbar
brian.dunbar at liftport.com
Mon Jan 14 14:34:25 CST 2008
> Hey,
>
> I'm having a senior moment - I wanted to do something I did last week and
> I can't remember how I did it.
>
> Last week I ran a find command that produced output like so ..
>
> 95732 ./NonAgileFiles/t_agile60971292.doc
> 87060 ./NonAgileFiles/t_agile60978519.doc
> 112396 ./NonAgileFiles/t_agile61418345.doc
> 0 ./NonAgileFiles/New Text Document.txt
>
> With the first column being the size of the file. Now how in the name of
> Ogg did I do that?
I hate being dumb. This works just fine ..
find . -type f -mtime +1095 -mtime -1460 -print -exec wc -c {} \;
I knew that as soon as I admitted to the world how humble I was an answer
would leap out at me.
brian
More information about the geeks
mailing list