Skip to content

back up

Sean Akahane-Bryen edited this page Jul 26, 2020 · 3 revisions

Back up notes

back-up.kmmacros

Copies all notes to a timestamped backup directory.

Invoked Shell Script

cp -a "$KMVAR_Instance_Notes_Directory/" "$KMVAR_Instance_Backup_Directory/$(date "+%Y-%m-%d, %H.%M") - Manual Backup/"

Changelog

Version Date Changes
1.04 2020-07-26 Back up files recursively
1.03 2020-07-26 Add a success notification
1.02 2020-07-24 Remove default triggers; use simpler macro names
1.01 2020-07-07 Use instance rather than global variables
1.00 2020-07-02 Initial commit
Clone this wiki locally