Skip to content

Latest commit

 

History

History
44 lines (38 loc) · 2.85 KB

Utility Features.md

File metadata and controls

44 lines (38 loc) · 2.85 KB

Utility Features

Backup your Vault

obackup: Create a backup of your vault.

  • Your whole vault is compressed into a zip file and then moved to the location you specified in the workflow configuration.
  • This command respects 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, the .git folder is excluded.
  • 💡 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"
end tell
# pass 'no sound' as argument to turn off backup confirmation sound

Warning
Please be aware that this is a simplistic backup solution. While I did not have any problems with it, this workflow comes without any warranties, as stated in the license. If you want 100% safety, please use a professional backup solution.

CSS Files

ocss: Access your css files.

  • Open a CSS snippet in your default text editor.

Open Various Folders

  • o.obsidian: The hidden .obsidian folder located in your vault root is opened in Finder.
  • o.trash: Open the hidden .trash folder located in your vault root is 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 is opened in Finder.
  • 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

  • Update your Community Plugins (and Beta plugins installed via the BRAT Plugin).
  • Re-index the data for the Documentation Search.
  • Refresh the metadata used for this workflow manually.