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
multiple convert
Moderators: XnTriq, helmut, xnview
-
- XnThusiast
- Posts: 4187
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: multiple convert
Hello, are you selecting 'Keep folder structure' ?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.
That's 'Conserver la structure des dossiers' in the French version, as I'm sure you know.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 4
- Joined: Sat Jul 16, 2011 9:02 am
Re: multiple convert
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.
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.
You do not have the required permissions to view the files attached to this post.
-
- XnThusiast
- Posts: 4187
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: multiple convert
A bug, I think: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.
On the Input tab, 'Add folder...' adds the images in the selected folder and any sub-folders, but not the folder structure...
You do not have the required permissions to view the files attached to this post.
-
- XnThusiast
- Posts: 2005
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
Re: multiple convert
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}" ?
... or maybe in windows: \{Folder name}\resultat_{Filename} ?
Or for full directory (linux): "{Directory}/{Filename}" or wondows ? "{Directory}\{Filename}" ?
Last edited by oops66 on Mon Mar 10, 2014 11:26 pm, edited 1 time in total.
XnViewMP Linux X64 - Debian - X64
-
- XnThusiast
- Posts: 4187
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: multiple convert
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...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} ?
-
- XnThusiast
- Posts: 2005
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
Re: multiple convert
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.).
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.).
XnViewMP Linux X64 - Debian - X64
-
- Moderator & Librarian
- Posts: 6388
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: multiple convert
xnview ([url=http://newsgroup.xnview.com/viewtopic.php?p=117407#p117407]0.51 Win7 x64: keep folder structure doesn't work[/url]) wrote:right, i've changed that, you can try last version of XnConvert...GeorgD wrote: XnViewMP v0.64: Tools > Batch convert > Add Folder > C:\tmp\sourceParent, Output Folder C:\tmp\target, "keep folder structure" activated (everything else disabled). Result:=> the subfolders have NOT been created in the targetCode: Select all
C:\tmp\target C:\tmp\target\Aus dem letzten Jahrhundert.jpg C:\tmp\target\Funkenschlag Erweiterung Brasilien und Spanien+Portugal.JPG C:\tmp\target\ruthe Geburtstag von Charles Darwin.jpg
-
- XnThusiast
- Posts: 4187
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: multiple convert
Seems to be fixed in XnConvert 1.63, and hopefully will be in next XnViewMP release...XnTriq wrote:xnview ([url=http://newsgroup.xnview.com/viewtopic.php?p=117407#p117407]0.51 Win7 x64: keep folder structure doesn't work[/url]) wrote:right, i've changed that, you can try last version of XnConvert...GeorgD wrote: XnViewMP v0.64 ... => the subfolders have NOT been created in the target
-
- Posts: 4
- Joined: Sat Jul 16, 2011 9:02 am
Re: multiple convert
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
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