Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 3.21 KB

Utility Features.md

File metadata and controls

50 lines (39 loc) · 3.21 KB
nav_order
2

Utility Features

Table of Contents

Backup your Vault

obackup: Create a backup of your vault.

  • Your whole vault will be compressed into a zip file and then moved to the location you specified in the workflow configuration (backup_destination). There will be a notification when the backup has been completed.
  • This command will respect the maximum number of backups you have set (workflow configuration max_number_of_bkps) to prevent taking up too much disk space. When the number is reached, every new backup causes the oldest backup to be deleted.
  • The hidden folders .obsidian and .trash are included in the backup.
  • 💡 Advanced users: you can use the following AppleScript snippet to trigger a backup. This is useful to create automated backups via launchd, Cron jobs, or Keyboard Maestro.
tell application id "com.runningwithcrayons.Alfred"
	run trigger "backup-obsidian" in workflow "de.chris-grieser.shimmering-obsidian" with argument ""
end tell
# pass 'no sound' as argument to turn off backup confirmation sound

⚠️ Please be aware that this is a very simplistic backup solution. While I personally did not have any problems with the backups, this workflow comes without any warranties in case of corrupted backups, as stated in the license. If you want 100% safety, please use professional backup solutions.


Open Various Folders

  • o.obsidian: The hidden .obsidian folder located in your vault root will be opened in Finder.
  • o.trash: Open the hidden .trash folder located in your vault root will be opened in Finder. (Note that you have to select Move to Obsidian trash in the Obsidian settings under the Files & Links tab before deleted files can be found here.)
  • oapplicationsupport: Open Obsidian's Application Support folder.
  • oplugin: The plugin folder in .obsidian folder will be opened in Finder.
  • ocss: Open the themes and snippets folder. (Along with your installed themes and snippets.)
  • Open your vault root with the Vault Switcher.
  • Open local plugin folders with the Plugin Settings Search.

Update Plugins & Metadata

oupdate: Update Plugins and Metadata used by this workflow