Page 1 of 1

Put 2 files (same filename / different filename extension) together in a zip file

Posted: Tue Dec 13, 2011 7:34 am
by michaelatwork
Hi everybody, i need some help.



This is the situation.



Input folder (e.g.):

123.pdf

123.png

456.pdf

456.png

(etc.)



Now i want 123.pdf/123.png and 456.pdf/456.png, etc. in a zip file.



That is the wanted output:

123.zip (contains 123.pdf and 123.png)

456.zip

(etc.)



We use the power switch. Maybe a solution is possible with power switch onboard tools? The filenames have no scheme, but the filenames of the pdf and png are always the same (in pairs).



Thanks in advance.



Kind regards,

Michael



Put 2 files (same filename / different filename extension) together in a zip file

Posted: Tue Dec 13, 2011 9:12 am
by bert_vr
michaelatwork wrote: Hi everybody, i need some help.



This is the situation.



Input folder (e.g.):

123.pdf

123.png

456.pdf

456.png

(etc.)



Now i want 123.pdf/123.png and 456.pdf/456.png, etc. in a zip file.



That is the wanted output:

123.zip (contains 123.pdf and 123.png)

456.zip

(etc.)



We use the power switch. Maybe a solution is possible with power switch onboard tools? The filenames have no scheme, but the filenames of the pdf and png are always the same (in pairs).



Thanks in advance.



Kind regards,

Michael






Michael,



Use the Assemble job's File pattern scheme and fill out

*.pdf

*.png

In the job folder name use the variable Job.NameProper to make sure the zip file uses the file name from the two files in the folder.



bert

Put 2 files (same filename / different filename extension) together in a zip file

Posted: Tue Dec 13, 2011 9:13 am
by bert_vr
bert_vr wrote: [quote=michaelatwork]Hi everybody, i need some help.



This is the situation.



Input folder (e.g.):

123.pdf

123.png

456.pdf

456.png

(etc.)



Now i want 123.pdf/123.png and 456.pdf/456.png, etc. in a zip file.



That is the wanted output:

123.zip (contains 123.pdf and 123.png)

456.zip

(etc.)



We use the power switch. Maybe a solution is possible with power switch onboard tools? The filenames have no scheme, but the filenames of the pdf and png are always the same (in pairs).



Thanks in advance.



Kind regards,

Michael






Michael,



Use the Assemble job's File pattern scheme and fill out

*.pdf

*.png

In the job folder name use the variable Job.NameProper to make sure the zip file uses the file name from the two files in the folder.



bert


After this you can use the compress tool to create the zip.



bert

Put 2 files (same filename / different filename extension) together in a zip file

Posted: Tue Dec 13, 2011 11:17 am
by michaelatwork
Hi Bert,



it works fine, thank you.



Now, I'm happy :)



Kind regards,

Michael