Batch convert to relative subfolder

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, xnview

Post Reply
tlegras

Batch convert to relative subfolder

Post by tlegras »

I might be a classical question but i couldn't find anything like that in the forum:
i have pictures classified in a big folder tree with several subfolder level. something like this:
  • 2004
    • January
      February
      ...
    2005
    • January
      ...
i would like to generate for each picture a thumbnail that is placed in a subfolder:
  • 2004
    • January
      • thumbnails
      February
      • thumbnails
      ...
    2005
    • January
      • thumbnails
      ...
so i tried thumbnail\%.jpg or .\thumbnail\%.jpg etc. for destination deirectory option, but all is always generated in the same folder. is there any way to tell xnview to use relative path for generating transformed file, not absolute path?

Thks for any help
Thierry.

<Moderator's note: The subject of this topic has been changed.>
User avatar
xnview
Author of XnView
Posts: 34681
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: batch rename to relative subfolder

Post by xnview »

tlegras wrote:I might be a classical question but i couldn't find anything like that in the forum:
i have pictures classified in a big folder tree with several subfolder level. something like this:
  • 2004
    • January
      February
      ...
    2005
    • January
      ...
i would like to generate for each picture a thumbnail that is placed in a subfolder:
  • 2004
    • January
      • thumbnails
      February
      • thumbnails
      ...
    2005
    • January
      • thumbnails
      ...
so i tried thumbnail\%.jpg or .\thumbnail\%.jpg etc. for destination deirectory option, but all is always generated in the same folder. is there any way to tell xnview to use relative path for generating transformed file, not absolute path?

Thks for any help
Thierry.
Batch rename or batch convert???
Pierre.
tlegras

Post by tlegras »

Thks for you quick answer.
Batch rename or batch convert???
i did not tried batch rename, but as far as i could see batch convert will save the transformed to the same thumbnail folder. so i have to repeat manually the operation for each folder (January/February, etc.). what i could like is to do once a batch convert for the whole hierarchy, and the thumbnails are generated each time in a local subfolder.
Is it possible?
User avatar
xnview
Author of XnView
Posts: 34681
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

tlegras wrote:Thks for you quick answer.
Batch rename or batch convert???
i did not tried batch rename, but as far as i could see batch convert will save the transformed to the same thumbnail folder. so i have to repeat manually the operation for each folder (January/February, etc.). what i could like is to do once a batch convert for the whole hierarchy, and the thumbnails are generated each time in a local subfolder.
Is it possible?
Right % is only used for original filename, you have no character for original folder...
Pierre.
User avatar
helmut
Posts: 8220
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

With XnView 1.90 this is possible using the $ placeholders. Please see topic "relative paths in batch convert" for more details.
Post Reply