Context Menu in Preview
Easy, fast, and lightweight backup and synchronization app for Windows
Brought to you by:
createsoftware
I would really appreciate if there was a context menu in the preview to delete files. This would be a step towards a Two-way Mirror with no effects on other parts of the program.
If I deleted a file in one of the two folders (Two-ways incremental) I would see this in the preview. There I could decide to synchronize (i.e. copy again from the other folder) or to forget (i.e. also delete it in the other folder) the file.
Although this has to be done manually I found this a very helpful feature.
In a second step the context menu could also offer options like "add this file to ignore list" or "synchronize just this file now (and let the other files untouched)".
P.S.: Thanks for that cool neat little tool!
Hi Wein, and thanks for this detailed feature request =)
I don't personally like two ways mirrors that much, for reasons that are detailed on http://synchronicity.sourceforge.net/faq.html#two-ways .
However, what you suggest should be partly feasible, at least for the "don't sync this file" part.
I'll post updates here when I get time to work on this feature.
If you found this answer useful, you may want to support future development and Create Synchronicity by making a small donation! Learn more about contributing on http://synchronicity.sourceforge.net/contribute.html.
Thanks for using Create Synchronicity,
CFP (Create Software).
Create Software - Open source, lightweight, and efficient software - @createsoftware
http://createsoftware.users.sourceforge.net - http://synchronicity.sourceforge.net
Please consider donating to express your support to free software - https://sourceforge.net/project/project_donations.php?group_id=264348
What about adding a context menu to the preview window which has for each file and folder (maybe also for groups of files/folders) the following options:
Do action -> Execute the shown action
Add file to ignore list -> add the filename to the ignore list (only applicable for files)
Add filetype to ignore list -> add the filetype to the ignore list (only applicable for files)
Exclude folder from synchronization -> exclude the folder from synchronization (only applicable for folders)
Delete file -> delete the file from file system, maybe after showing a warning (only applicable for files)
Delete folder -> delete the folder from file system, maybe after showing a warning (only applicable for folders)
After one of these actions has been done the preview should be refreshed (for the corresponding files/folders).
IMHO this would make working with Create Synchronicity much more comfortable and flexible.
The main problem with this is handling the binding between the preview list, and the underlying data structures. For the sake of performance (and simplicity, and multi-threading safety), the data that is displayed in the list is a copy of the data that is used for syncing. Therefore, any modification made to the list needs to be mirrored in the original data structures.
This requires to introduce stronger bindings between the preview list and the syncing code. I think it would be doable to introduce some kind of pointer to the original item in the list elements, and then add an ignore flag to the original item when disabled.
The main problem is that the code is valid under a certain number of assumptions on the structure of the syncing list, mainly that the syncing list is a preorder walk of a subtree of the source folder tree (possibly with some already-mirrored nodes removed). This allows for higher efficiency when syncing, eg. you don't need to check that the destination folder for a file exists before copying that file, because the folder, if it didn't exist, was created before anyway.
I'll look into this as soon as I have more time. Thanks for your suggestions!
CFP.
If you found this answer useful, you may want to support future development and Create Synchronicity by making a small donation! Learn more about contributing on http://synchronicity.sourceforge.net/contribute.html.
Create Software - Open source, lightweight, and efficient software - @createsoftware
http://createsoftware.users.sourceforge.net - http://synchronicity.sourceforge.net
Please consider donating to express your support to free software - https://sourceforge.net/project/project_donations.php?group_id=264348
That would be great. Cherry picking from the preview list is a cool feature which I really miss.
One more context menu entry would be very helpful: "Compare".
Let the user configure which program to call when this menu entry is clicked, e.g. "c:\program files\winmerge\winmergeu.exe" "%1" "%2".
Hi,
I've (partially) implemented the "Compare" part for you.
To use it, download the latest build (attached), and add the following to your mainconfig.ini file while the program is not running:
;Diff program:c:\program files\winmerge\winmergeu.exe;Diff arguments:"%o" "%n";
You may want to swap %o and %n ; %o is for old, and %n for new.
The, in the preview list, pressing ctrl+d should open a diff.
Still experimental, but Voilà =)
Clément.
If you found this answer useful, you may want to support future development and Create Synchronicity by making a small donation! Learn more about contributing on http://synchronicity.sourceforge.net/contribute.html.
Create Software - Open source, lightweight, and efficient software - @createsoftware
http://createsoftware.users.sourceforge.net - http://synchronicity.sourceforge.net
Please consider donating to express your support to free software - https://sourceforge.net/project/project_donations.php?group_id=264348
Ça sonne bien - mais où est le fichier attaché? In case my French is worse than I thought: Where's the attachment? ;-)
Just downloaded revision 1085. Cool - that's what I meant. But why does it only work for right-to-left copy copies?
Thank you very much for implementing my wishes so fast!
Version corrigée : http://synchronicity.sourceforge.net/current-build.html
If you found this answer useful, you may want to support future development and Create Synchronicity by making a small donation! Learn more about contributing on http://synchronicity.sourceforge.net/contribute.html.
Clément.
I have worked now for a certain time with this really cool tool. But there is still one feature that I really miss every day: deleting files.
As already said: If I deleted a file in one of the two folders (Two-ways incremental) I would see this in the preview. There I could decide to synchronize (i.e. copy again from the other folder) or to forget (i.e. also delete it in the other folder) the file.
Let me give you an example: I regularly synchronize a folder with installation programs over several locations. When I downloaded Create_Synchronicity-5.2.zip I put it in such a folder and deleted Create_Synchronicity-5.1.zip. Now every synchronization says that there are a new files 5.2 on one side an 5.1 on the other side. It would really be a great ease to being able to say "synchronize 5.2 but delete 5.1".
All I need is a little context menu (in which also the file diff could be placed) or a shortcut with which I could delete the 5.1 file before starting synchronization.
Hi weind,
Give a few weeks to look into this further; I'm currently taking my final exams, so I don't have much time. The main difficulty here is that your suggestion requires to tighten the link between the interface and the engine. More precisely, I have to be able to reflect the changes made to the preview list in the underlying data structures. I need a little time to devise a performance-efficient, and pretty code-wise, solution.
By the way, you should update to 5.2.1 (just released it), there was a problem with the config dialog in 5.2 :/
Thanks for your continued feedback, it's much appreciated =) I'm giving this a higher priority and moving it to the Tasks section.
Clément.
Sounds good. And all the best for your exams!
Do you think there is any chance for this feature to find its way into Create Synchronicity?