Add bin/,cd
Add bin/,drive Add bin/,review Add bin/,review-renovate
This commit is contained in:
18
bin/executable_,drive
Normal file
18
bin/executable_,drive
Normal 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"
|
||||
|
||||
|
Reference in New Issue
Block a user