[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bash script question



* Almut Behrens <almut-behrens@gmx.net> [2006 Dec 07 16:08 -0600]:
> On Thu, Dec 07, 2006 at 03:41:53PM -0600, Ron Johnson wrote:
> > 
> > OP specifically noted:
> >     I'm not interested in the actual created/modified date

The reason for that was so I don't clobber other files that may be
older, just those with the names that include dates.  In this case I
wanted to work strictly on the file name.

> yes, I know... It does in fact use the date specification from the filename
> (extracted by the /-(\d{4})(\d\d)(\d\d)/ regex).

And it seems to work very well.  I thank you as the perl one-liner
seems to be what I'm looking for.  Now I can study that regex.  :)

- Nate >>

-- 
 Wireless | Amateur Radio Station N0NB          |  Successfully Microsoft
  Amateur radio exams; ham radio; Linux info @  | free since January 1998.
             http://www.qsl.net/n0nb/           |  "Debian, the choice of
             My Kawasaki KZ-650 SR @            |     a GNU generation!"
        http://www.networksplus.net/n0nb/       |   http://www.debian.org



Reply to: