Different files with the same name

Get help for specific problems
Posts: 1
Joined: 7 Sep 2023

Dorbl77

I want to use FFS to mange and backup my docs and I'm trying to figure out how to deal with documents with the same name.

so lets say I created a doc named "doc1" in my source dir and I work on this doc (updating it with new content) while sync it to my target dir.
Now, I decided I want to delete "doc1" from my source dir and after some time I decide to open a new doc in my source dir with the same name "doc1" (there is no problem to do so cus I deleted the older one).

So my problem now is how can I save the last version of my original "doc1" right until I deleted it (lets say with a timestamp in an deleted/version folder?
So when I create a new doc with the same name "doc1" I'll still have my last version of my previous "doc1".

saving only last version of a file wont work cus when i'll create a new "doc1" it's last version will overwrite my original "doc1" last version.

So basically the question is how to create a version backup of a document in my target only when deleted from the source?
User avatar
Posts: 2946
Joined: 22 Aug 2012

Plerry

First of all: FreeFileSync (FFS) is first and foremost a synchronization program.
Syncing a "doc1" from Source to Target, and then (instantly or later) deleting it from Source, while retaining it on Target is not a normal sync activity, although still supported by FFS in its Update sync variant.

It is then however your own responsibility not to create a new "doc1" in (the same relative path) in Source again. If you still do, upon running the next sync, "doc1" in the Target will be overwritten (updated) by the new "doc1" in the source.

The only remedy FFS can offer against such cases is by using Versioning.
Versioning retains as many copies as you choose (of files deleted or overwritten by FFS) for as long as you choose, in an arbitrary, user defined location.
There is however no telling which versions are versions of your old "doc1" or of your new "doc1", possibly except for via the timestamp, if you know/remember when you first created the new "doc1".
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

Your filenames should be descriptive enough to not even worry about this