-
Notifications
You must be signed in to change notification settings - Fork 934
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
Add option --copy-only #2012
base: master
Are you sure you want to change the base?
Add option --copy-only #2012
Conversation
Never mind, I changed my mind. |
mackup/main.py
Outdated
-f --force Force every question asked to be answered with "Yes". | ||
-r --root Allow mackup to be run as superuser. | ||
-n --dry-run Show steps without executing. | ||
-c --copy-only Copy only files when backup. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idiomatic English would be more like: "Only copy files when backing up"
I feel like this behavior should be the default. Unless I'm mistaken, the idea of symbolic links doesn't really work for many apps, e.g. Preferences file. As soon as an app rewrites the Preferences file, the symbolic link is broken. I figure the default model should be copy/sync, possibly merge, but not symlinking, unless we can be assured that symlinks don't get deleted. Am I understanding mackup right? I'm new to this app. |
Would it be possible to enable this per-application as well? I just realized that iStat Menus also breaks using the symlinks created by Mackup, and so it would nice to be able to modify a |
Thanks @huyz for more Idiomatic English
So, I've added a few apps to ignore, vim, iterm2 etc. |
You mean make it part of the config file for each app? That sounds like a good idea. |
Yeah, unless I'm reading it wrong, this PR currently only provides a CLI flag, so it's all or nothing. Having the granularity to configure which apps use the copy/paste method instead of symlinks will probably address a lot of the issues some apps appear to be having with symlinks. |
@dracorp What do you mean there? I don't see any changes in the code that would do what @martimlobao is asking for. |
|
IMO, the copy option should be by default, because right now Mackup is not working properly with a lot of apps :(. Maybe we can do that with a global flag in the config file if we don't want to modify the default behavior. |
Is there any chance of someone completing this? I'm not that proficient in Python to impose anything. |
All submissions
Adding/updating Application X Support
Improving the Mackup codebase