jdupes
jdupes copied to clipboard
Interactive mode for links and dedupes
Hi,
I notice for symnlinks it says
" -l --linksoft make relative symlinks for duplicates w/o prompting "
Is there any way to prompt for those too?
Cheers Chris
I did not write the original code that does hard linking, BTRFS dedupe, etc. and the authors of those did not make them behave the same way as -d does. Unfortunately, I have not had the time to go back and add prompting, plus at this point it would be a deviation in the expected behavior of the program which means it needs to be part of a 2.0 release. I'll mark it as a feature request so I can be sure to modify it before then.
Cheers. And thanks for the program, I've just been using it on a number of my large backup folders to save some space :)
If it gets changed, I would prefer that the same -N prompt parameter which controls prompting for deletes gets used. (Unless it is somehow possible to delete and link at the same time)
dedupes might be a bit different - they seem a lot less risky... (But consistency to always prompt for actions unless -N is specified is useful...)
The links might break stuff, especially if permissions and ownership differ between the files... (I seem -p exist on *nix for that issue, I'm not sure how Windows deals with permissions for hardlinks...)
My plan for 2.0 involves a radically altered infrastructure that makes everything under the hood highly modular. For example, rather than having interactive deletion inside the act_deletefiles.c code, there will be a general interactive prompt system that each action module prompts through, so any enhancements to that system would carry over to all action modules that have an interactive mode.