Page 1 of 1

Create folder name with leading 5 digits of source file

Posted: Tue Dec 10, 2019 11:42 am
by graham728
Hi,

I would very, very much appreciate some help with the below.

We have two files that are dropped into a watch folder, both start with the same ID number:

GH001_SportsAvidBin.avb
GH001_SportsTranscode.mxf

I would like FFastrans to move the files to its final destination within a folder called 'GH001'.

I've got a similar workflow where it can create a folder based on source file name which is great. I just need to be able to redact some digits.

so source file name = leading five characters.

I hope that makes sense.

Thanks!

Re: Create folder name with leading 5 digits of source file

Posted: Tue Dec 10, 2019 11:52 am
by momocampo
Hello Graham,

It seems really simple but I just to be sure to understand what you want :
- You want the files move to a folder called by the first 5 characters ?

That's all?

;)

Re: Create folder name with leading 5 digits of source file

Posted: Tue Dec 10, 2019 11:57 am
by graham728
Yes thanks. The idea is that numerous files will be placed in the watch folder over weeks/months. Each Avid bin should have a mxf counterpart that starts the same leading 5 digits. So the idea is FFastrans moves the two files into a folder named with that tracking number.

Re: Create folder name with leading 5 digits of source file

Posted: Tue Dec 10, 2019 12:53 pm
by momocampo
here is the workflow !
Just set your monitor watch and your destination folder before the variable called "%avid-reference%"

Tell me if ok ;

Benjamin

Re: Create folder name with leading 5 digits of source file

Posted: Tue Dec 10, 2019 1:21 pm
by graham728
It works like a charm and helps me out a lot. Thanks!

Re: Create folder name with leading 5 digits of source file

Posted: Tue Dec 10, 2019 1:29 pm
by momocampo
No problem ;) You're welcome Graham.

B.

Re: Create folder name with leading 5 digits of source file

Posted: Fri Sep 13, 2024 2:32 pm
by Jason
hello i want to create folder same as monitor source folder after transcoding. can you help?

Re: Create folder name with leading 5 digits of source file

Posted: Mon Sep 16, 2024 6:44 am
by emcodem