Move files by named-pattern into specified folder

Post Reply
almiro
Newbie
Posts: 2
Joined: Tue Sep 12, 2023 3:58 pm

Move files by named-pattern into specified folder

Post by almiro »

Hello everyone:
I am a beginner in Enfocus Switch and have been working on a workaround for 2 days to achieve the desired result. Unfortunately without success.
Maybe someone already knows this problem and can give me a tip? I would be very grateful!

So I have the following folder structure:

HOTFOLDER (known)
- GAMMA_EXPORT_2023 (folder)
- - XLS_KA (folder)
- - SITO_KA (folder)
- XLS__DE.pdf
- XLS__FR.pdf
- XLS__EN.pdf
- SITO__DE.pdf
- SITO__FR.pdf
- SITO__EN.pdf
I have the following folder structure
I have the following folder structure
Bildschirmfoto 2023-10-17 um 09.48.14.png (54.42 KiB) Viewed 8710 times
What I am trying to do:
HOTFOLDER (known)
- GAMMA_EXPORT_2023 (folder)
- - XLS_KA (folder)
- - - XLS__DE.pdf
- - - XLS__FR.pdf
- - - XLS__EN.pdf
- - SITO_KA (folder)
- - - SITO__DE.pdf
- - - SITO__FR.pdf
- - - SITO__EN.pdf
What I am trying to do:
What I am trying to do:
Bildschirmfoto 2023-10-17 um 09.48.30.png (55.62 KiB) Viewed 8710 times
OUTPUTFOLDER (known)
- GAMMA_EXPORT_2023 (Folder)
At the end there should be 1 single folder with all files in it:
At the end there should be 1 single folder with all files in it:
Bildschirmfoto 2023-10-17 um 09.52.45.png (22.16 KiB) Viewed 8710 times
If you need more information or sample files then please get in touch. Thanks a lot!
freddyp
Advanced member
Posts: 1023
Joined: Thu Feb 09, 2012 3:53 pm

Re: Move files by named-pattern into specified folder

Post by freddyp »

Have a look at this training session: https://learning.enfocus.com/course/view.php?id=40
almiro
Newbie
Posts: 2
Joined: Tue Sep 12, 2023 3:58 pm

Re: Move files by named-pattern into specified folder

Post by almiro »

Hi, and thank you for your message! I didn't find any solution or a hint - on the link you gave me - to solve this task. Anyway, thx.
User avatar
Terkelsen
Advanced member
Posts: 300
Joined: Thu Sep 08, 2011 5:08 pm
Contact:

Re: Move files by named-pattern into specified folder

Post by Terkelsen »

Use the folder GAMMA_EXPORT_2023 as your Archive hierarchy. In the flow before archiving use the "Set hierarchy path" and define "Path segment 1" as this single line text with variable: [Job.NameProper:Before="_"]_KA
Post Reply