<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 -->
Generate file listing
Moderators: helmut, XnTriq, xnview
Generate file listing
Last edited by helmut on Sun Dec 19, 2004 6:17 pm, edited 2 times in total.
Re: Options for "Generate file list
I speak absolutely no French, so I will only write English and I'm only able to read English.
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.
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.helmut wrote:- File size: Include file size in Bytes: "1.233.222 Bytes" (Default: On)
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.
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.helmut wrote:- File date: Include file date in national format: Sample for German date: "26.04.2003" (Default: On)