On Fri, 2012-02-17 at 00:37 +1030, Rodney Baker wrote:
On Fri, 17 Feb 2012 00:31:42 Insomniac wrote:
Hey gang,
I need to find (so I can look through) a bunch of a certain type of files. I tried using the 'find files/folders' thing on the menu, but it didn't help me at all no matter how much info I put in to give it a hand.
What I want to find, is *all* and *only* Gzip archive files made during a specific day/date in my /home/me/.mozilla/seamonkey/bliq9n9z.default/Cache/<a whole slew of folders here>/<and here>
For instance, one will be at /home/me/.mozilla/seamonkey/bliq9n9z.default/Cache/0/00/ and will be named 81858d01. It won't have an extension, but in the 'type' column when using Dolphin it will be a Gzip archive.
A strange thing about those folders too...one could have been created(?) on 13 Feb 2012 yet will contain files that may have dates ranging from a created(again ?) jpg on 27 Jan 2012 to an 'unknown' type of 02 Feb 2012. There can be 2 to 20 files in any one of these folders and each will have a complete mixture of dated files in it and none have an extension other than in the 'type' column, unlike say, in my 'home' folder.
Is there some other way besides trying to use the find files/folders app in the kmenu? A better way? Even a commandline way, so long as someone tells me how and/or what to type is fine, heh.
I am sure there is an easier way. But try this: touch /tmp/start-time -t STAMP touch /tmp/stop-time -t STAMP find . \( -newer /tmp/start-time -and ! -newer /tmp/stop-time \) -exec file --mime-type {} \; | grep zip Where STAMP are the times as [[CC]YY]MMDDhhmm[.ss] The two files are just for find to have the dates of interest. Seems kludgy. But it works.
locate <options>
man locate for details...
-- =================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au ===================================================
Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org