Hi friends,
I need to be a picture output to the corresponding directory, that is, Output folder, but it seems that no this parameter?
How to enter the specified directory?
Moderators: XnTriq, helmut, xnview
-
- XnThusiast
- Posts: 3891
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: How to enter the specified directory?
From the help file:starix wrote:Hi friends,
I need to be a picture output to the corresponding directory, that is, Output folder, but it seems that no this parameter?
Code: Select all
-o filename : Output filename Options section:
Use # to specify position of numeric enumerator
Use % to specify source filename
Use $ to specify full source pathname
Use $$ to specify source folder name
Use $EXIF:DateModified[date format] to specify EXIF date modified
Use $EXIF:DateTaken[date format] to specify EXIF date taken
Date format: Please check documentation of strftime
-
- Posts: 2
- Joined: Mon Nov 14, 2016 3:11 am
Re: How to enter the specified directory?
cday wrote:From the help file:starix wrote:Hi friends,
I need to be a picture output to the corresponding directory, that is, Output folder, but it seems that no this parameter?
There should be examples of the use the above parameters in NConvert forum posts.Code: Select all
-o filename : Output filename Options section: Use # to specify position of numeric enumerator Use % to specify source filename Use $ to specify full source pathname Use $$ to specify source folder name Use $EXIF:DateModified[date format] to specify EXIF date modified Use $EXIF:DateTaken[date format] to specify EXIF date taken Date format: Please check documentation of strftime
Thank you very much for your answer.
-
- XnThusiast
- Posts: 3891
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: How to enter the specified directory?
Here is a simple example that rotates images in the Input folder and places the output files in the Output folder:
The '%' in the code is doubled as I ran the code in a Windows batch file.
Note also that quotes can't be used together with wildcards around the input term, but from memory input filenames may have spaces but not the input file paths.
Code: Select all
nconvert -rotate 90 -out jpeg -q 80 -o "C:\X\Output\%%.jpg" C:\X\Input\*.jpg
Note also that quotes can't be used together with wildcards around the input term, but from memory input filenames may have spaces but not the input file paths.