The individual PDF-files are manipulated and the I would like to first merge them to one pdf on sub-folder level. Filename should then be the name of the subfolder.
After this I would like to merge these files based on top-level (Book 02, Book 03).
But I have not successed with finding a way to merge on the top-level.
So now I am submitting a hierarchy and the flow works, but I am missing the step to merge on top-level.
I have tried to assemble job based on hierarchy index 1, but I can not find a way to determine how many files is should be used.
So I hope anyone can give input with some good ideas as to how to do this.
This is the flow as it is now.
And this is the structure of input.
Code: Select all
INPUT
├── Book 02
│ ├── 00
│ │ └── 02.pdf
│ ├── 01 APV Pumpen - SPX - APV
│ │ ├── 01 APV_W+_MANUAL_DE_06_2013.pdf
│ │ ├── 02 APV_W+_SPARE_PARTS_UK_04-2015.pdf
│ │ └── 03 SPX FLOW Declaration of Conformity FCM for W+ Pumps.pdf
│ ├── 02 APV Ventilen, Filter und Flansch - SPX - APV
│ │ ├── 01 APV_RUF3_DE-5_092017.pdf
│ │ ├── 02 APV_SI2_DE-6_012019.pdf
│ │ ├── 03 #DK_UK_FSH_09_2008.pdf
│ │ └── 04 Flanschverbindung FGN1 DN25-150.pdf
│ ├── 03 APV Plattenapparat - SPX - APV
│ │ ├── 01 PHE_Manual_D(Deutsch).pdf
│ │ ├── 02 3243213_10_SN04E09A-1-1A_FINAL DOC.pdf
│ │ └── 03 3243213_90_SN04E09A-2-1A_FINAL DOC.pdf
│ ├── 04 SIHI Pumpen - Armatec
│ │ ├── 01 Betriebsanleitung_Pumpe 26397.pdf
│ │ ├── 02 Datenblatt Kugel-Rückschlagventil XCk_50.pdf
│ │ └── 03 Konformität 21-320553-01.PDF
│ └── 05 Dampf Brüdenverdichter - Koerting
│ └── 01 113-1-13862-1 - MDB - R00 operation.pdf
└── Book 03
├── 00
│ └── 03.pdf
├── 06 Bürkert Ventilen - Bürkert
│ ├── 10 MA2100-Manual-DE-DE.pdf
│ ├── 20 MA2301-Manual-DE-DE.pdf
│ ├── 30 MA8690-Manual-DE-DE.pdf
│ ├── 40 2100 2101 2300 2301 1000248608-0_Element-Sitz_MDec_FoodandBeverage-FDA-EGV1935_de_en.pdf
│ ├── 50 MA8692-ManualREV.2-DE-DE.pdf
│ ├── 60 1000190647-C_8692_EU-DoC.pdf
│ ├── 70 1000218456-C_2100_EU-DoC.pdf
│ ├── 80 1000219213-E_8690_EU-DoC.pdf
│ └── 90 1000290509-B_2301_EU-DoC.pdf
├── 07 Keofitt Sesame - Fagerberg
│ ├── 01 Sesame_Manual.pdf
│ ├── 02 SESAME BODY TYPE P 1_.pdf
│ ├── 03 SESAME HEAD TYPE H EPDM.pdf
│ ├── 04 890041E.pdf
│ ├── 05 QUICK COUPLING W9_WELDING LINER.pdf
│ ├── 06 3068063_nrp3ACertificateLicenseCONT.pdf
│ └── Thumbs.db
└── 08 Kettenzug - Certex
├── 10 User Manual Powertex Trolley -DE- (1).pdf
└── 20 X-CH handtakel^Mblack - DE.pdf
Code: Select all
OUTPUT
├── Book 02
│ ├── 00.pdf
│ ├── 01 APV Pumpen - SPX - APV.pdf
│ ├── 02 APV Ventilen, Filter und Flansch - SPX - APV.pdf
│ ├── 03 APV Plattenapparat - SPX - APV.pdf
│ ├── 04 SIHI Pumpen - Armatec.pdf
│ └── 05 Dampf Brüdenverdichter - Koerting.pdf
└── Book 03
├── 00.pdf
├── 06 Bürkert Ventilen - Bürkert.pdf
├── 07 Keofitt Sesame - Fagerberg.pdf
└── 08 Kettenzug - Certex.pdf