Page 1 of 1

Generate file listing

Posted: Sun Dec 14, 2003 4:11 pm
by helmut
<Moderator's note: This post was split from French topic 'Générer une liste de fichiers'>

Sorry for this English post. Below please find a detailed proposal for that I've posted in the classic newsgroup a while ago. Perhaps this helps to find a good solution and can be a basis for further discussions (in French or in English).

<--- Start --->
When generating a file list with XnView, the file list contains name, size, and properties of the file. Often, when working with file lists (batch files, html files...), the path and name of the file is needed only, and no other information. For this reason, the "Generate file list" should have options like:

Information included:

[ ] Header

[ ] Path
[ ] File size
[ ] File date
[ ] Image properties

What the options should do:
- Header: Include the header lines with the name of each column and the separator "-----." (Default: On)

- Path: Include the full path of the file: Sample: "C:\temp\image1.tif" (Default: Off)
- File size: Include file size in Bytes: "1.233.222 Bytes" (Default: On)
- File date: Include file date in national format: Sample for German date: "26.04.2003" (Default: On)
- Image properties: Include the image properties (as in XnView 1.50.1) (Default: On)

Think this would be really helpful. Perhaps, the image properties could be split into individual settings, rather than having just one setting for all the properties. But not sure whether it makes sense to have individual settings.

The options should appear each time a file list is generated. Some people might not like this, so perhaps all the options might be also shown in the general options. There could be an option.
[ ] Show options before generating file list

If this option is activated, the options are shown before generating the file list. Otherwise, the options are available in the general options, only.

These are just some ideas on this matter. Comments and suggestions are welcome.
<-- End -->

Posted: Sun Dec 14, 2003 6:52 pm
by Mar.mack
You have understood the idea :)
--

Helmut a formulé les options qui pourraient être disponibles si cette option venait à évoluer dans le sens voulut... :)

Re: Options for "Generate file list

Posted: Sun Jan 18, 2004 2:00 am
by crazytb
I speak absolutely no French, so I will only write English and I'm only able to read English.
helmut wrote:- File size: Include file size in Bytes: "1.233.222 Bytes" (Default: On)
This should be configurable. Why output in bytes, with . separating the digits is better? I think there should be option to output in bytes, KB or MB. There should be also an option to do not use the '.' separator or to allow user to specify the separator.

Why don't simple get the separator from system config? Because maybe I use 'dot' separator in my system config but I want to generate the filelist to a script which needs 'comma', or I want to send the filelist to a English friend.
helmut wrote:- File date: Include file date in national format: Sample for German date: "26.04.2003" (Default: On)
The date-format should be configurable. Sometimes I would like d/m/yy, or dd/mm/yy, or yyyy-mm-dd, and so on. There should be an option to configure it in a very flexible way.