Add function which syncs all the MASTER catalogs in the current directory.

This commit is contained in:
2026-03-27 17:07:24 -07:00
parent c5d1386211
commit 9c9de6f96f

View File

@@ -12,13 +12,11 @@ export PATH="$PATH:~/bin-shared:~/.bin-shared"
## Aliases ##
# Bin Scripts
alias send-master="send_master.sh"
## Functions ##
# Related specifically to this project.
function update-shared {
branch="$1"
if [[ -z "$branch" ]]; then
@@ -41,6 +39,19 @@ alias shared-reload="update-shared"
# Shortcuts
function send-master { send_master.sh; }
# Enhance Bin Scripts
function send-masters {
ls | grep MASTER | while read dir; do
echo "Preparing to sync '$dir' to '$SERVER_NAME'."
cd $dir
send-master
cd ..
done
}
# Audio
# Video