Page 1 of 1
multiple convert
Posted: Sun Mar 09, 2014 8:39 pm
by Tekila
Hello,
I would like to make a script that convert a folder with many photos and copy them to an FTP with the same folder structure.
Example :
I have the directory "c:\photos\"
In this directory, I have many directories like "2014-01-01", "2014-01-15", "2014-02-08", ...
I want to take all these directories and the photos and :
- resize them in 1024x768
- copy the resized photos to ftp://.../2014/
- In this directory, I would like to have the same structure : ".../2014/2014-01-01", ".../2014/2014-01-15", ...
I use the "convert" option from XnView MP and I am actually able to resize the photos and copy them to the FTP, but I am not able to recreate the same folder structure as the original photos.
Can anyone help me ?
Sorry for my English (I am French

),
Sebastien
Re: multiple convert
Posted: Sun Mar 09, 2014 9:45 pm
by cday
Tekila wrote:I use the "convert" option from XnView MP and I am actually able to resize the photos and copy them to the FTP, but I am not able to recreate the same folder structure as the original photos.
Hello, are you selecting 'Keep folder structure' ?
That's 'Conserver la structure des dossiers' in the French version, as I'm sure you know.

Re: multiple convert
Posted: Mon Mar 10, 2014 9:28 pm
by Tekila
Hello,
Thank you for your answer.
I tried your solution but it does not work.
In the result folder, the photos aren't stored in subfolders : they are all in the main directory.
In my example, I take all the photos from the directory "h:\photos\" : in this directory, I have different directories : "2014-01-01" ...
The result is that after the "convert script", all the photos are in the directory "h:\bureau\test" but there are no subfolder.
Re: multiple convert
Posted: Mon Mar 10, 2014 10:24 pm
by cday
Tekila wrote:
... I take all the photos from the directory "h:\photos\" : in this directory, I have different directories : "2014-01-01" ...
The result is that after the "convert script", all the photos are in the directory "h:\bureau\test" but there are no subfolder...
In the result folder, the photos aren't stored in subfolders : they are all in the main directory.
A bug, I think:
On the Input tab, 'Add folder...' adds the images in the selected folder and any sub-folders, but not the folder structure...
Re: multiple convert
Posted: Mon Mar 10, 2014 10:49 pm
by oops66
Hello ...And if into "nom de fichier" you put: "/{Folder name}/resultat_{Filename}" (for linux) ?
... or maybe in windows: \{Folder name}\resultat_{Filename} ?
Or for full directory (linux): "{Directory}/{Filename}" or wondows ? "{Directory}\{Filename}" ?
Re: multiple convert
Posted: Mon Mar 10, 2014 11:21 pm
by cday
oops66 wrote:Hello ...And if into "nom de fichier" you put: "/{Folder name}/resultat_{Filename}" (for linux) ?
... or maybe in windows: \{Folder name}\resultat_{Filename} ?
In comparison with XnView Classic, the problem seems to be at the input rather than the output tab: images within the selected folder structure are loaded to the Input tab without their associated paths...
Re: multiple convert
Posted: Mon Mar 10, 2014 11:37 pm
by oops66
Here under linux that works, so far ...

... but I don't know with the windows version ...
for full directory in name file (linux): "
{Directory}{Filename}"
for full directory structure (linux): "
{Directory}/{Filename}"
or with the the last dir (linux): "
/4-emails_{Folder name}/{Filename}" ... I use this one (for "filename") with no path in "folder" (= current dir.).

Re: multiple convert
Posted: Tue Mar 11, 2014 5:30 am
by XnTriq
Re: multiple convert
Posted: Tue Mar 11, 2014 2:27 pm
by cday
Seems to be fixed in XnConvert 1.63, and hopefully will be in next XnViewMP release...

Re: multiple convert
Posted: Sun Mar 16, 2014 8:08 pm
by Tekila
Hello,
I tried the last version of Nconvert and it works fine when the output is a folder/directory. Thank you.
Nevertheless, it doesn't work when the output is FTP : in this case, the photos are transfered but the folder structure isn't conserved.
Is it possible to have the same correction for the ftp output ?
Thank you
Sebastien