How to preserve folder structure

Questions and answers on how to get the most out of FFAStrans
Post Reply
hhajj
Posts: 1
Joined: Tue Dec 13, 2022 1:01 pm

How to preserve folder structure

Post by hhajj »

I'm trying to move file from one server to another and I need to preserve folder structure so files from subfolders on source gets moved to subfolders on destination
example:
files in Folder 1 \\server1\folder1\**
gets moved to folder1 on server2 \\server2\folder1

I'm not able to do it so far in the delivery folder, I used %recursed_path%
ThomasM
Site Admin
Posts: 224
Joined: Wed Feb 22, 2017 6:36 am

Re: How to preserve folder structure

Post by ThomasM »

Hey hhajj,

you can make use of the file-variables. For your example use

Code: Select all

%s_original_path~1%
if you have more subfolders, use

Code: Select all

%s_original_folder%
Take a look at the wiki for more information of the File- and other Variables. There is pretty much you can do with it in terms of FileStructure.

If you want to see, what the Variables REALLY do before you run the whole thing "hot", just put them out in a txt-file (Generate Text File-Node).

cheers,
thomas
momocampo
Posts: 592
Joined: Thu Jun 08, 2017 12:36 pm
Location: France-Paris

Re: How to preserve folder structure

Post by momocampo »

Hello Hhajj,

Yeah, as Thomas said, you can use different variables to succeed.
Go here on the wiki ;
https://ffastrans.com/wiki/doku.php?id= ... _variables
There is some useful explanations ;)
Cheers.
Post Reply