Repository navigation
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. |
|
Why don't you make a bash script calling mackup instead? |
|
@lra I've done exactly what you proposed already ;) |
|
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 |
Uh oh!
There was an error while loading. Please reload this page.
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?
All reactions