maintain subfolder structure

Questions and answers on how to get the most out of FFAStrans
Post Reply
saxonty

maintain subfolder structure

Post 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é
admin
Site Admin
Posts: 1687
Joined: Sat Feb 08, 2014 10:39 pm

Re: maintain subfolder structure

Post 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
Post Reply