Re: Extended dilaog_pickfile [message #67089] |
Tue, 23 June 2009 05:16  |
Juggernaut
Messages: 83 Registered: June 2008
|
Member |
|
|
On Jun 23, 3:41 am, "Ian Dean" <ian.d.d...@baesystems.com> wrote:
> Hi ,
> Thanks for your post. I've tried something similar, but I end up with a
> number of identically named files in numerous directories and date is the
> only way of deciding which one to choose.
> Top
> |
> >---Dir1
> | |
> | >---Testfile
> |
> >---Dir2
> | |
> | >---Testfile
> . .
> . .
> . .
> >---Dirn
> | |
> | >---Testfile
>
> "Ian Dean" <ian.d.d...@baesystems.com> wrote in message
>
> news:4a3f397a$1_1@glkas0286.greenlnk.net...
>
>> Hi,
>> Is there a better method of file selection than dialog_pickfile?
>> Because I have a number of similar named files (some even have the same
>> name in multiple directories) and an idea of creation date would be VERY
>> helpfui. A sort on date and/or filename would also be a nice to have. i.e.
>> I'm looking for something like windows explorer (on windoze obviously) or
>> file manager (under X-windows).
>> Unfortunately because of the X-windows, I'm limited to version 5.4.
>
>> Any help would be most welcome.
>
>> Regards,
>> Ian
If you find these "similar" files and run file_info(filename) on
these, you could check the ATIME, CTIME, MTIME structure elements that
are returned by file_info for the most recent or whatever time you're
looking for. These keywords are not useful for FAT16,32... file
systems apparently. Could be worth looking into.
Bennett
|
|
|