From: johnjulian1@netscape.net Subject: RE: simple find question Date: Thu, 05 Sep 2002 12:15:23 -0400 Sender: linux-admin-owner@vger.kernel.org Message-ID: <7F263BAD.639EB3CA.4DAE6F57@netscape.net> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: List-Id: Content-Type: TEXT/PLAIN; charset="iso-8859-1" To: a Special guy , linux-admin@vger.kernel.org try: cd /base/directory/to/search find . -type f -ctime -14 -14 means less than 14 days +14 means more than 14 days 14 means exactly 14 days you may want to use mtime instead of ctime. a Special guy wrote: >all i need is to list all files less than two weeks old in a directory= , recursively. >"ls" isnt of real use because i cant figure out how to conveniently so= rt dates in the form it displays. >but this should be right up "find"'s alley, right?=20 >however i dont understand for example -ctime and -cmin. neither seems = to find what i want (files less than 14 days old) in my tests. isnt wha= t i want more like -cmax? >or of course i can create a two week old file (i presume this can be d= one), and then use -cnewer? > >basically the desired end result is to simply be able to have a "whats= new in the last two weeks" listing on an ftp site. > >- >To unsubscribe from this list: send the line "unsubscribe linux-admin"= in >the body of a message to majordomo@vger.kernel.org >More majordomo info at =A0http://vger.kernel.org/majordomo-info.html > __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://chan= nels.netscape.com/ns/browsers/download.jsp=20 Get your own FREE, personal Netscape Mail account today at http://webma= il.netscape.com/ - To unsubscribe from this list: send the line "unsubscribe linux-admin" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html