Page 1 of 1

skip the damaged file using filecommandlist

Posted: Tue Jul 20, 2010 6:26 pm
by Cinemaizer
Good day!
I like use the "filecommand"-list with nconvert, but there is a trouble - when nconvert trying to convert the corrupted file, other following files don't (!) converted and nconvert just stops (exit). :(

"### -truecolors -sharpen 50 -ratio -thumb 220 190 -out bmp -o ..\thumbs\im_0002.bmp
H:\Arkaim_1\DSC00023.JPG
### -truecolors -sharpen 50 -ratio -thumb 220 190 -out bmp -o ..\thumbs\im_0004.bmp
H:\Arkaim_1\DSC00025.JPG
### -truecolors -sharpen 50 -ratio -thumb 220 190 -out bmp -o ..\thumbs\im_0006.bmp
H:\Arkaim_1\_SC01532.jpg
### -truecolors -sharpen 50 -ratio -thumb 220 190 -out bmp -o ..\thumbs\im_0008.bmp
H:\Arkaim_1\DSC00047.JPG
### -truecolors -sharpen 50 -ratio -thumb 220 190 -out bmp -o ..\thumbs\im_0010.bmp
H:\Arkaim_1\DSC00263.JPG"

Here, _SC01532.jpg file is corrupted, so DSC00023.JPG and DSC00025.JPG are converted fine, but DSC00047.JPG and DSC00263.JPG are not converted. How nconvert could be skip\ignore damaged file and continue to work with following files (list is really big and sometimes there are such 'bad' files) automatically ? Perhaps, a specific key -ignorebad could be help (i guess)?

Re: skip the damaged file using filecommandlist

Posted: Wed Jul 21, 2010 2:34 pm
by Cinemaizer
There is one solution, i know it's working fine:
nconvert.exe -truecolors -sharpen 50 -ratio -thumb 220 190 -out bmp -o ..\thumbs\im_####.bmp -L FILELIST.txt

FILELIST.txt:
"H:\Arkaim_1\DSC00023.JPG
H:\Arkaim_1\DSC00025.JPG
H:\Arkaim_1\_SC01532.jpg
H:\Arkaim_1\DSC00047.JPG
H:\Arkaim_1\DSC00263.JPG"

But in previous case the skipping need too.

Re: skip the damaged file using filecommandlist

Posted: Tue Jul 27, 2010 7:07 am
by xnview
Ok, so the problem is only when you have process in the filelist...

Re: skip the damaged file using filecommandlist

Posted: Sat Aug 14, 2010 3:28 pm
by Cinemaizer
Hi Pierre! Yes, this problem with the filecommandlist. But I need the correct skipping in the first case too. Why is so important? Answer: scripts and automatic processing of the results . In the second case (with filelist), indexing will be such: im_0001.bmp, im_0002.bmp, im_0003.bmp, im_0004.bmp. Since the corrupted file will be ignored, then all true, but! for software processing (external software) folder with the results (ready thumnails), I can not identify exactly which file is missing (i.e. not converted). If it were possible to skip the corrupted file in the first case, it would be possible to determine. In general, I think just be enough to miss it (without any key, I think), but did not terminate nconvert...

In the end, I need to get the folder "thumbs", in which the files will be (im_0006.bmp th will simply not be created):
im_0002.bmp
im_0004.bmp
im_0008.bmp
im_0010.bmp

Re: skip the damaged file using filecommandlist

Posted: Mon Aug 23, 2010 12:04 pm
by xnview
Could you send me your email by PM?

Re: skip the damaged file using filecommandlist

Posted: Tue Mar 01, 2011 1:01 pm
by xnview
Do you have always the problem with last version?