Page 1 of 1
skip owerwrite if exist
Posted: Tue Nov 11, 2014 2:27 pm
by ezmax
Re: skip owerwrite if exist
Posted: Wed Nov 12, 2014 12:32 pm
by xnview
by default, if file exists, NConvert rename the output file
Re: skip owerwrite if exist
Posted: Fri Aug 28, 2015 2:27 am
by Zurdo
Hi. I'm also looking for this command.
I have a folder with many pictures, which I convert to a lower resolution and copy to my mobile. What I'd like to do is to only convert the files that have not been convertedf before.
An nconvert switch like xnconvert's "skip if destination already exists" would be great!
Thanks,
Zurdo.
Re: skip owerwrite if exist
Posted: Fri Aug 28, 2015 7:10 am
by Mixer
Hi Zurdo. On Windows you could use batch file similar to this.
Code: Select all
@echo off
for %%i in ("C:\Source Directory\*") do (
if not exist "F:\Destination Directory\%%~nxi" start /wait nconvert.exe -o "F:\Destination Directory\%%~nxi" -resize longest 199 "%%i"
)
pause
Re: skip owerwrite if exist
Posted: Sat Aug 29, 2015 3:56 pm
by Zurdo
Excellent solution Mixer!!! Thanks a lot! Works great!
Re: skip owerwrite if exist
Posted: Sat Aug 29, 2015 11:53 pm
by Mixer
You're welcome. It works only while your files have none of characters % # $ in their names.