Skip to content

launch skicka when the storage is mounted to backup the storage on google drive

Notifications You must be signed in to change notification settings

veilchen/launch_skicka_on_mount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

launch_skicka_on_mount

launch skicka when the storage is mounted to backup the storage on google drive backup log is saved at ~/log

Usage

  1. install skicka https://github.com/google/skicka

  2. install terminal_notifier if you want to be notificated the start and end of backup. for homebrew run brew install terminal-notifier

  3. place run_skicka.scpt at ~/Library/Scripts/ (or place wherever you want and rewrite the path in launch_on_mount.plist)

  4. place launch_on_mount.plist at ~/Library/LaunchAgents/

  5. Config your storage id in run_skicka.scpt. (hint: run system_profiler SPCardReaderDataType SPUSBDataType on Terminal or see system profiler App)

  6. Config your local and remote file/directory path in run_skicka.scpt.

  7. Config the path to terminal_notifier and skicka in run_skicka.scpt (note that your $PATH on terminal won't refrected on the script, so it's better to use full path)

  8. run launchctl load ~/Library/LaunchAgents/launch_on_mount.plist

##reference

About

launch skicka when the storage is mounted to backup the storage on google drive

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published