Keyboard Maestro macros: Vault Snapshot + Quick Git Commit

Macro 1: Vault Snapshot

Instructions

Just input the path of both the vault and the desired backup location to the designated locations.

What it will do

Zip the Vault folder, timestamp it and move it to the backup folder.

Macro 2: Quick git

Instructions

Change the first line of the shell script to the correct vault path.

What it will do

Commit all changes using a timestamp as commit msg.

Warning

Obviously you can only do it in a folder that is also a git repository. There are plenty of instructions only about how to create a git repo.

Macro 3 - Vault Snapshot + Quick git

Just a very simple macro to activate both of the macros above.

Hopefully, this will be useful to some of you.

2 Likes