iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mostly fixes for new error handling
[distro-setup]
/
music-tag-sync
diff --git
a/music-tag-sync
b/music-tag-sync
index 0f6e7d98e48d4c49accd9681c3506f5909d1c06e..06248e02175b7b35880137b6355c50e9016a8cd5 100644
(file)
--- a/
music-tag-sync
+++ b/
music-tag-sync
@@
-1,6
+1,7
@@
-#!/bin/bash -l
-set -eE -o pipefail
-trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
+#!/bin/bash
+# Copyright (C) 2019 Ian Kelling
+# SPDX-License-Identifier: AGPL-3.0-or-later
+if [[ -s ~/.bashrc ]];then . ~/.bashrc;fi
# cd /k/music
# find -type f -name '*.flac' | while read -r f; do
# mkdir -p "../flacs/$(dirname "$f")"
# cd /k/music
# find -type f -name '*.flac' | while read -r f; do
# mkdir -p "../flacs/$(dirname "$f")"