• 0 Posts
  • 2 Comments
Joined 3 years ago
cake
Cake day: August 3rd, 2023

help-circle
  • Thyazide@lemmy.worldtoLinux@lemmy.mlSaved Commands/Scripts
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    19 hours ago

    I use obsidian with the self hosted live sync plugin and have a couchdb instance setup on my homelab server. With external access via ssl certs (the only way to access couchdb outside a local network is to get real certs). Now I can hit my notes from all my devices and systems. While it’s not ‘scripts’ exactly it contains a ton of documentation for things I do, plan to do and have done.

    Also use it as a store house for links to various things that I intend to pull in and refactor for my own use later. Or links to other larger repositories (book of secret knowledge, etc), stuff I’ve made public on GitHub like rules.d tutorials for some keyboards with web configuration.

    I think the only actual script I have on there is:

    for f in *.mp3 *.m4a *.m4b *.opus; do
        [ -e "$f" ] || continue
        pre="${f%.*}"
        mkdir -p "$pre"
        mv "$f" "$pre/"
    done
    

    Made it for moving loose audiobook files into individual folders.