Posted by: aaronlawrence Aug 26 2008, 11:47 PM
(longtime user, first time poster...)
Hello, I have a large folder tree of JPG photos I would like to simply resave into a lower quality, while retaining the tree structure.
I made a script to do the resave part. But I can't figure out any way to keep the tree structure. PMView internally can only work on files within one folder (right?).
I tried to run the script externally file by file, but there I run into two problems:
- if not told otherwise by a "set output directory" step, pmview seems to be trying to save the photos to ? the current directory?
- if I tell it to use the "same directory as original" I get the replace confirmation dialog every time. I tried turning setting preferences/confirmations to "Replace file if it exists", but it doesn't help.
Posted by: Peter Dec 9 2008, 08:44 PM
QUOTE (aaronlawrence @ Aug 26 2008, 11:47 PM)
(longtime user, first time poster...)
Hello, I have a large folder tree of JPG photos I would like to simply resave into a lower quality, while retaining the tree structure.
I made a script to do the resave part. But I can't figure out any way to keep the tree structure. PMView internally can only work on files within one folder (right?).
I tried to run the script externally file by file, but there I run into two problems:
- if not told otherwise by a "set output directory" step, pmview seems to be trying to save the photos to ? the current directory?
- if I tell it to use the "same directory as original" I get the replace confirmation dialog every time. I tried turning setting preferences/confirmations to "Replace file if it exists", but it doesn't help.
Hi Aaron,
With a REXX script you could easily recurse folders and put the file in the same directory (or with the help of REXX, in a different folder).
As for the confirmation dialog, make sure you use the same INI file, by using the /INI command line flag. The settings will work, but only if the correct INI file is used.
These answers are for OS/2. Some things differ on Windows.
Thanks,
Peter