Hello everyone
I'm looking to use Ffastrans to try and automate some file copying and was wondering if you had any tips.
Right now we have many people sending in ProRes footage to a single directory on one server, and I'd like to automatically copy those files into multiple directories on a different server based on the file names (beginning in XXXX_ to location A, YYYY_ to location B, ZZZZ_ to location C).
Is this something that could be accomplished with a watch folder workflow? Would it require a command executor processor with maybe a robocopy script? Perhaps this is actually multiple workflows?
Thanks so much for any help you could provide!
Using file names to determine copy destination
Re: Using file names to determine copy destination
Thats easy, do a workflow like "Monitor->split into 3 conditional processors" and each conditional checks if %s_source% is *XXXX* or *YYYY.*.. After each of the 3 conditionals, you insert a deliver processor, thats it.
In your conditional nodes, you do on the left side: %s_source% , condition is "=" and on the right side just *XXXX*.
Note that for production (but not for experimenting) you should check "dispel" checkbox in the conditional, so you don't flood your status monitor with lots of failed branches.
Of course, another way to do it is to have 3 separate workflows, specifying 3 different file include filters but that is not desireable in large environments, you want to keep the number of watches small.
If you need it more dynamically, e.g. you have more than just 3 deliver paths, you can use a solution like this:
viewtopic.php?f=4&t=1287&p=7219&hilit=ps1#p7219
In your conditional nodes, you do on the left side: %s_source% , condition is "=" and on the right side just *XXXX*.
Code: Select all
/ conditional *ZZZ* - deliver to ZZZ
Monitor Folder - conditional *XXX* - deliver to XXX
\ conditional *YYY* - deliver to YYY
Of course, another way to do it is to have 3 separate workflows, specifying 3 different file include filters but that is not desireable in large environments, you want to keep the number of watches small.
If you need it more dynamically, e.g. you have more than just 3 deliver paths, you can use a solution like this:
viewtopic.php?f=4&t=1287&p=7219&hilit=ps1#p7219
emcodem, wrapping since 2009 you got the rhyme?
Re: Using file names to determine copy destination
This works great, thank you so much for your guidance!