Feature suggestion: ffs_gui settings

Discuss new features and functions
Posts: 2
Joined: 1 Oct 2012

mike524

When FFS is run with two directories given by the commandline, it always
resets all the settings.
Therefore I think the 2 dirs option is very limited. I suggest that it could
load either "LastRunff.s_gui" ( or maybe TwoDirs.ffs_gui or Default.ffs_gui )
or the settings could be passed by another argument.
This might be very useful when running FFS from another program, like
FreeFileSync <Current Dir> e:\Backup\<Current Dir>

Thank you anyway for doing this great app!
User avatar
Site Admin
Posts: 7052
Joined: 9 Dec 2007

Zenju

See also viewtopic.php?t=818

Generally FFS is not a command line utility, but a few features a command line
enables are too good to pass off (e.g. dynamic config creation). The task is
to find just the right syntax without pretending to be a command line tool.
Behavior should be as intuitive as possible without requiring documentation.

Sample commands:

FreeFileSync.exe <directory names> <.ffs_gui and .ffs_batch cfgs>

or

FreeFileSync.exe <directory names> <.ffs_gui and .ffs_batch cfgs> <list of directory names>

or

FreeFileSync.exe <.ffs_gui and .ffs_batch cfgs> <directory names> <.ffs_gui and .ffs_batch cfgs>

Questions are: What are they supposed to mean? Do they have a unique meaning
at all? What are the additional syntactic rules required to make them unique?
User avatar
Site Admin
Posts: 7052
Joined: 9 Dec 2007

Zenju

Addendum:

> FreeFileSync.exe <list of .ffs_gui and .ffs_batch cfgs>


already has a meaning: "start FFS with a merged configuration consisting of
the .ffs_gui/.ffs_batch files given"

Technical complication: FFS allows to omit the .ffs_gui .ffs_batch extensions.
This makes it impossible to distinguish configurations from directories
without a disk access.
Posts: 2
Joined: 1 Oct 2012

mike524

Sorry, maybe I have expressed myself wrong. I don't want FFS to become a
commandline tool and I don't want any major change either. I am completely
happy with the passing of two directories. I just wanted to point out that
with this option FFS always resets all the settings (and also saves it to
"LastRun.ffs_gui"). This fact somehow degrades the usefullness of the two
folder option, because default settings can't be changed, and what is the
point to sparing user of selecting the directories, if he must always
reconfigure all the settings? I think that loading "LastRun.ffs_gui" every
time (when no ffs_gui file is specified) makes sense. Or there may be another
file, like "Default.ffs_gui". But I can't se reason for reseting all the
settings.
Thanks
User avatar
Site Admin
Posts: 7052
Joined: 9 Dec 2007

Zenju

The next version contains a basic command line syntax to allow merging multiple configurations and/or setting directory pairs externally. Here's the new version for testing, let me know if there are any problems:

[404, Invalid URL: http://freefilesync.sourceforge.net/FreeFileSync_5.19_beta_Windows_Setup.exe]

You can get a syntax description via

FreeFileSync.exe /?