Re: sort directory help
From: Nathan (frizop-manchu_at_charter.net)
Date: 01/03/05
- Next message: John D. Sanders: "Newbie Question"
- Previous message: Justin Wyllie: "Re: Can't locate <module> in @INC - but I can see module is there!"
- In reply to: Jake Wiley: "sort directory help"
- Next in thread: Jim Gibson: "Re: sort directory help"
- Reply: Jim Gibson: "Re: sort directory help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 03 Jan 2005 21:37:20 GMT
http://search.cpan.org/~muir/Time-modules-2003.1126/lib/Time/ParseDate.pm
might help you, or you could parse it yourself.
--Nathan
"Jake Wiley" <OEKilla@msn.com> wrote in news:1104788305.272941.63060
@c13g2000cwb.googlegroups.com:
> I need to sort a directory which is all fine BUT my directory names are
> all in date formats like Nov 18 2004, Dec 23, 2005 etc.. The simple
> sort works BUT like this:
> Aug 5 2004
> Dec 1 2004
> Dec 8 2004
> Jan 2 2005
> Nov 7 2004
>
> I want to get the folders in chronological order. It's for a backup
> program and I want to be able to delete the oldest folder after a
> couple of weeks. Could somebody please point me in the right direction
> or perhaps a module that does this. Thanks
>
>
- Next message: John D. Sanders: "Newbie Question"
- Previous message: Justin Wyllie: "Re: Can't locate <module> in @INC - but I can see module is there!"
- In reply to: Jake Wiley: "sort directory help"
- Next in thread: Jim Gibson: "Re: sort directory help"
- Reply: Jim Gibson: "Re: sort directory help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|