Page 1 of 1

maintain subfolder structure

Posted: Mon Apr 13, 2015 11:53 am
by saxonty
Hi,

does ffastrans somehow support the maintenance of the directory structure between the input watchfolder and the output directory?

Within a watchfolder we can define that files should be searched recursively.

So let's say we have a Watchfolder with a subdirectory "abc" which contains a file test.mp4.

Is it possible that this directory "abc" is also used for the delivery folder, so that the encoding result will be stored within this subfolder structure?

Use case e.g. a folder for each day of the week.

Otherwise we will create a specific workflow for each subdirectory :)

André

Re: maintain subfolder structure

Posted: Mon Apr 13, 2015 2:57 pm
by admin
Yes, in the last verison 0.5.0 you can use the variable variant "%original_path~n%" for retrieveing parent folder names.
From the help docs:

%original_path~n% = Folder name n-steps backwards.
Example: If the input source is "\\VIDEONAS\share\inbound\canon\mts-video\00003.MTS"
%original_path~1% = "mts-video"
%original_path~2% = "canon"
%original_path~4% = "share"

Hope this is what you want.

-steipal