You are here

FreeFileSync directories

6 posts / 0 new
Last post
Wm ...
Offline
Last seen: 7 years 5 months ago
Joined: 2010-07-17 12:37
FreeFileSync directories

As a long time user of FFS as a portable app I am pleased it has joined the PA.com family.

I have a big question about where it puts files changed by the user, however, and will continue using my own setup until I am convinced about the info in
\PortableApps\FreeFileSyncPortable\help.html

For example won't
\PortableApps\FreeFileSyncPortable\App\FreeFileSync\GlobalSettings.xml
get overwritten on the next upddate?

Why should I put my *.ffs_gui and *.ffs_batch files in
\PortableApps\FreeFileSyncPortable\App\FreeFileSync\
when there is a
\PortableApps\FreeFileSyncPortable\Data
directory just for this purpose?

I really can't work out why you have put Data stuff in the App directory. Particularly since the directory structure under Data is all set up and waiting for Data. With the addition of a directory for log files the structure in the Data directory isn't very different to how I have things set up at the moment.

--
Wm

Bennieboj
Bennieboj's picture
Offline
Last seen: 4 years 11 months ago
Joined: 2010-09-16 07:28
Basic PAL behaviour: move to data after close

FreeFileSyncPortable\App\FreeFileSync\GlobalSettings.xml won't get overwritten on the next update.
If you look inside FreeFileSyncPortable\AppInfo\FreeFileSyncPortable.ini, you'll see line 12: settings\GlobalSettings.xml=%PAL:AppDir%\FreeFileSync. That line will copy the GlobalSettings.xml file into FreeFileSyncPortable\Data\settings.
Same goes for all your *.ffs_gui and *.ffs_batch files, line 9: ffs\*.ffs_*=%PAL:AppDir%\FreeFileSync takes care of them.
Test it out of you want to see for yourself. Copy the whole FreeFileSyncPortable directory (so you have a backup, always make backups people) and play around!
I hope this helps Biggrin

Yes, I set the working directory!

Wm ...
Offline
Last seen: 7 years 5 months ago
Joined: 2010-07-17 12:37
Have you used a previous version of FFS under PA?

Have you used a previous version of FFS (perhaps a beta) under PA?

I don't have the file

FreeFileSyncPortable\AppInfo\FreeFileSyncPortable.ini

I do have

FreeFileSyncPortable\App\AppInfo\Launcher\FreeFileSyncPortable.ini

which contains

[FilesMove]
ffs\*.ffs_*=%PAL:AppDir%\FreeFileSync
ffs\LastSyncs.log=%PAL:AppDir%\FreeFileSync
settings\GlobalSettings.xml=%PAL:AppDir%\FreeFileSync

those are lines 9 to 12, are yours different?

the Working Directory from a default PA install seems to be
WorkingDirectory=%PAL:AppDir%\FreeFileSync
what is yours?

Yes, this is helping, not me, perhaps, but newer users of FFS

Wm

Bennieboj
Bennieboj's picture
Offline
Last seen: 4 years 11 months ago
Joined: 2010-09-16 07:28
Oops

You're right, I forgot the "Launcher" folder in the path, sorry.
Of course that's also my working directory, that's the way it should.
And yes, I've used previous versions of FFS.
Why ain't this helping you, if I may ask?
You now know that you can put your batch and gui files inside that folder and GlobalSettings.xml will be preserved with every update.

Yes, I set the working directory!

John T. Haller
John T. Haller's picture
Offline
Last seen: 8 hours 48 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
ffs directory

All your ffs files and your GlobalSettings.xml are moved to App\FreeFileSync while it is in use and then back to Data\ffs while it is closed. As such, you can save ffs files to the App\FreeFileSync directory while it is running and they'll automatically move to Data\ffs on exit. That way they're properly backed up by the platform. Even if you crashed it (pulling the stick) and then upgraded it without running it, the files will still be preserved in App\FreeFileSync due to the directives in the installer.ini file within AppInfo.

Sometimes, the impossible can become possible, if you're awesome!

Bennieboj
Bennieboj's picture
Offline
Last seen: 4 years 11 months ago
Joined: 2010-09-16 07:28
yup, one caveat though

If you store logs inside the App\FreeFileSync directory (like foe a batch job) it won't be move to the Data directory, but it's up to the user to use it correctly.

Yes, I set the working directory!

Log in or register to post comments