Missing Internal Variable ... for Versioning ...

Discuss new features and functions
Posts: 100
Joined: 14 Feb 2015

volker01

I really miss internal variable for:
"FolderpairDestination"
for last dir in the destination-paths.

Example:
Have to Sync several folder-pairs in one sync-task:
"c:\myfolder1" sync to "d:\project\myfolder1"
"c:\myfolder2" sync to "d:\project\myfolder2"
...
"c:\myfolder10" sync to "d:\project\myfolder10"
...

With a internal variable it would be easy to create the relevant dirs for Archiving/Versioning automatically.

Then Versioning it and set the Path for versioning globally to for example:
"d:\backup\project\%FolderpairDestination%"
Then a individual root directory for each folder-pair is automatically created with the destination-name for versioning / archiving and there is no confusion with folders or files in the archive of the same names.

At the moment it is very time-consuming to achieve this.
You currently have to set this for each pair of folders individually
and you have to keep this in mind when adding a new pair of folders
User avatar
Posts: 2292
Joined: 22 Aug 2012

Plerry

You are taking a very inefficient approach.

For your example, you can use a single left-right base-folder pair:
C:\ <=> D:\project
and either change the FFS Include Filter from the default * (=everything) into
\myfolder1
\myfolder2

... etc up to
\myfolder10

Or, conversely, if that better suits your use-case, leave the Include Filter at its default * and add all other files and folders in C:\ than myfolder1 through myfolder10 to the Exclude Filter.
(You can add files and folders to the Include and/or Exclude Filter by right clicking on a file or folder in the FFS Compare result window (after having run a Compare), or by manually editing the Filters via the funnel-icon (F7) top-mid.)

This approach will not only automatically create a folder myfolderX in your D:\project\ location if that folder did not exist yet, but you will then only need to define a single (root) Versioning location, in which your myfolderX folders will be automatically created as necessary.