Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: version history #51

Open
justmeonthegit opened this issue Oct 26, 2020 · 7 comments
Open

Feature request: version history #51

justmeonthegit opened this issue Oct 26, 2020 · 7 comments

Comments

@justmeonthegit
Copy link

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 !

@aubreyz
Copy link

aubreyz commented Jan 10, 2021

Thank you too for this great software Stefan.

I second the request for a change log.

@mkraemer0
Copy link

+1

@Kaligula0
Copy link

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.

@justmeonthegit
Copy link
Author

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

@Kaligula0
Copy link

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

@justmeonthegit
Copy link
Author

justmeonthegit commented Feb 1, 2023 via email

@Kaligula0
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants