Is there a command line switch for NConvert?
such as here http://newsgroup.xnview.com/viewtopic.php?t=14476
also this question here http://newsgroup.xnview.com/viewtopic.php?t=19081
skip owerwrite if exist
Moderators: XnTriq, helmut, xnview
-
- Author of XnView
- Posts: 45321
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 2
- Joined: Fri Aug 28, 2015 2:24 am
Re: skip owerwrite if exist
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.
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.
-
- Banned
- Posts: 166
- Joined: Fri Aug 28, 2015 6:24 am
Re: skip owerwrite if exist
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
-
- Posts: 2
- Joined: Fri Aug 28, 2015 2:24 am
Re: skip owerwrite if exist
Excellent solution Mixer!!! Thanks a lot! Works great!
-
- Banned
- Posts: 166
- Joined: Fri Aug 28, 2015 6:24 am
Re: skip owerwrite if exist
You're welcome. It works only while your files have none of characters % # $ in their names.