← Back to team overview

phatch-dev team mailing list archive

[Bug 418519] Re: <folder>_xxx/<subfolder> fails to replicate structure of input tree

 

There is a bug in your action list. The rename and copy action work on
the original files. So a rename action will always move the original
images. (Normally a rename action is used on its own. Not part of an
actionlist unless you want to move the originals.) You need to specify
the new filename to the save action and not append an extra rename
action.

I've attached a corrected action list. In case that is not what you
want, I am misunderstanding you.

-- 
<folder>_xxx/<subfolder> fails to replicate structure of input tree
https://bugs.launchpad.net/bugs/418519
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: Fix Committed

Bug description:
See this thread
http://photobatch.wikidot.com/forum/t-177883/combining-save-and-rename-and-loss-of-exif-tags-during-save

Still unclear why
<folder>_processed/<subfolder> had to create another empty subtree
though.

Source tree was

demo
|-- CementerioRosario.jpg
`-- lev-1
    |-- belongil_beach_HDR.jpg
    `-- lev-2
        `-- Yellowstone1_20040619_bg.jpg

2 directories, 3 files

I told it to process the folder called demo. Expected output was

demo_processed
|-- 2009-8-24-14-19-48.jpg
`-- lev-1
    |-- 2009-8-24-14-19-48.jpg
    `-- lev-2
        `-- 2009-8-24-14-19-48.jpg

And instead I got

demo_processed
|-- lev-1
|   `-- lev-2
`-- processed
    |-- 2009-8-24-14-19-48.jpg
    `-- lev-1
        |-- 2009-8-24-14-19-48.jpg
        `-- lev-2
            `-- 2009-8-24-14-19-48.jpg

I can't understand why it created those two empty "lev1/lev2"
directories or why id did an extra "processed" dir inside
"demo_processed".



References