CryptSync
CryptSync copied to clipboard
Feature request: version history
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 !
Thank you too for this great software Stefan.
I second the request for a change log.
+1
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.
I'm not using it to dropbox but a storage provider which is connected by a drivemapping within windows :-)
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
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: @.***>
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.