Replies: 4 comments
-
I think this complicates what mackup is intended to do. Mackup is meant to be a simple dotfile backup script and nothing else. Could you provide a more specific example? I'd want to understand your needs before dismissing the idea. |
Beta Was this translation helpful? Give feedback.
-
Why don't you make a bash script calling mackup instead? |
Beta Was this translation helpful? Give feedback.
-
@lra I've done exactly what you proposed already ;) |
Beta Was this translation helpful? Give feedback.
-
I was looking for this as well. I'm using a tool called shortcuts which create/ingest a file, so basically "pre backup" and "post restore" hooks would be welcomed. I'd do something like: [application]
name = rodionovd/shortcuts
[configuration_files]
.shortcuts.plist
[hooks]
before_backup = "shortcuts read --as-plist > ~/.shortcuts.plist"
after_restore = "shortcuts import ~/.shortcuts.plist" Having a script to call |
Beta Was this translation helpful? Give feedback.
-
I've a feature request for you. Sometimes I need to do some stuff before backup my mac and it'll be really great if you can implement possibility to run bash scripts before and potentially after backup process. Error in scripts should break backup process.
Could be something like:
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions