Hi !
I'd like to know how i can manage a lot of file arriving on a unique folder to dispatch them in different folders according to their name (prefix).
For example receiving files named :
AA_Test1
AA_Try2
AA_Essai
BB_001
BB_Nom1
CC_Test01
...
I'd like to see them move, all the "AA_" files in an "AA" folder on my network, same for the "BB_" files in a "BB" folder, etc ...
I've first made a flow using the "Include/Exlude" with variable in the junction line but it makes a lot of folder/line, ...
So i'd like to know if there's a simpliest way to do it ...
Thank's a lot for your answer or may be example flow.
Laurent D.
[how to] Sort and dispatch files according to their name
-
- TOP CONTRIBUTOR
- Posts: 628
- Joined: Mon Nov 29, 2010 8:45 pm
- Location: Alpharetta GA USA
- Contact:
[how to] Sort and dispatch files according to their name
You could create a flow like this:
The Sort Jobs has a 'single line text with variables' set to [Job.NameProper:Before=_]
Name each connection with the desired prefix. Sort Jobs will automatically route to the correct connection.
Dwight Kelly
Apago, Inc.
dkelly@apago.com
The Sort Jobs has a 'single line text with variables' set to [Job.NameProper:Before=_]
Name each connection with the desired prefix. Sort Jobs will automatically route to the correct connection.
Dwight Kelly
Apago, Inc.
dkelly@apago.com
[how to] Sort and dispatch files according to their name
It depends on what you want. With Dwight's solution the AA, BB, ... folders are predefined accepted folder names. CC ends up in "Other".
An alternative is that you use "Set hierarchy path" with the variable as Dwight described in "Path segment 1", and followed by "Archive hierarchy". When the directory does not exist, it will be created. CC_something.pdf will create the directory CC, but 1234_abc.pdf will also create the directory 1234.
Freddy
An alternative is that you use "Set hierarchy path" with the variable as Dwight described in "Path segment 1", and followed by "Archive hierarchy". When the directory does not exist, it will be created. CC_something.pdf will create the directory CC, but 1234_abc.pdf will also create the directory 1234.
Freddy
[how to] Sort and dispatch files according to their name
So helpful, thank you for adding that info Freddy