Add bin/,cd

Add bin/,drive
Add bin/,review
Add bin/,review-renovate
This commit is contained in:
2023-07-24 12:41:43 +02:00
parent d80976a36b
commit ef2da35882
4 changed files with 68 additions and 0 deletions

18
bin/executable_,drive Normal file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
VAULT="$HOME/Documents/vaults/kjuulh/"
DRIVE="/Users/kah/Library/CloudStorage/GoogleDrive-kah@lunar_app/My Drive/Vault"
set -e
files=$(fd . --full-path "$VAULT" -e md)
file=$(echo "$files" | fzf)
file_name=$(basename "$file")
echo "chosen file: $file_name"
pandoc -s "$file" -o "$DRIVE/${file_name%.md}.docx"