mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
bin: add upd script
This commit is contained in:
parent
aeaaf27a9a
commit
4894cfc93b
1 changed files with 13 additions and 0 deletions
13
bin/upd
Executable file
13
bin/upd
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
upd_fname=upd.sh
|
||||
upd_scripts=(
|
||||
"$HOME/org"
|
||||
"$HOME/Documents/Obsidian"
|
||||
)
|
||||
|
||||
for path in "${upd_scripts[@]}"; do
|
||||
echo -e "\e[32m====== $path\e[0m"
|
||||
cd "$path" || exit 1
|
||||
"$path"/"$upd_fname"
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue