CryptSync icon indicating copy to clipboard operation
CryptSync copied to clipboard

Feature request: version history

Open justmeonthegit opened this issue 4 years ago • 7 comments

Great tool. Works fantastic. If simple history can be included it is even more great. One option in the pair form : number of days in history If file exist in target and is updated then move old to fixed folder ./inhistory or rename file to extension (v-1,v-2 etc,,) All files in history older then x days or older dan x version to trash. Again great tool !

justmeonthegit avatar Oct 26 '20 22:10 justmeonthegit

Thank you too for this great software Stefan.

I second the request for a change log.

aubreyz avatar Jan 10 '21 22:01 aubreyz

+1

mkraemer0 avatar Feb 09 '21 23:02 mkraemer0

I think it's behind the scope of the app. Dropbox keeps the history of sync and you can find versions of your files in the last (I guess) 30 days.

Kaligula0 avatar Dec 27 '22 11:12 Kaligula0

I'm not using it to dropbox but a storage provider which is connected by a drivemapping within windows :-)

justmeonthegit avatar Dec 29 '22 13:12 justmeonthegit

You can achieve this with Windows PowerShell. First thing comes to my mind is to create a backup copy of all files on this folder, and then let PowerShell script watch the folder for changes. If change is detected it can copy the changed file to the backup folder (with name changed to "*-v2"). After detection you're left with the new version only (in the watched folder), that's why you need first to backup everything.

I'm using such watcher and I uploaded it to my GitHub. https://github.com/Kaligula0/FolderWatcher

Kaligula0 avatar Dec 29 '22 19:12 Kaligula0

Thxs but I need this for a complete drive D. Will this script work for main drive D;\ and perform good. Drive D contains 75.000 files in 5000 folders.

On Thu, Dec 29, 2022 at 8:39 PM Kaligula @.***> wrote:

You can achieve this with Windows PowerShell. First thing comes to my mind is to create a backup copy of all files on this folder, and then let PowerShell script watch the folder for changes. If change is detected it can copy the changed file to the backup folder (with name changed to "*-v2"). After detection you're left with the new version only (in the watched folder), that's why you need first to backup everything.

I'm using such watcher and I uploaded it to my GitHub. https://github.com/Kaligula0/FolderWatcher

— Reply to this email directly, view it on GitHub https://github.com/stefankueng/CryptSync/issues/51#issuecomment-1367542873, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCEASSRETSRHQ2PUGK6O3TWPXSIFANCNFSM4TAANEXQ . You are receiving this because you authored the thread.Message ID: @.***>

justmeonthegit avatar Feb 01 '23 16:02 justmeonthegit

Probably will work, but you have to adapt it and test it (I use it only to detect and move new files, not rename). It's an ugly workaround, though. Best way is not to detect changes when they occur, but to detect save attempts and copy file before it gets overwritten. By the way, have you tried using built-in system tools? I.e. Windows System Backup and Restore, it keeps old versions of files.

Kaligula0 avatar Feb 02 '23 07:02 Kaligula0