diff options
| -rwxr-xr-x | bin/fixnames | 8 | ||||
| -rwxr-xr-x | bin/sync-mp3 | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/bin/fixnames b/bin/fixnames index dd1c5b3..d92f322 100755 --- a/bin/fixnames +++ b/bin/fixnames @@ -1,8 +1,12 @@ #!/usr/bin/env bash -# Fix filenames in music library: no spaces or special chars. +# Fix filenames in music library: no special chars. -fixname() { echo "$1" | iconv -f utf8 -cs -t ascii//IGNORE; } +fixname() { + echo "$1" | + iconv -f utf8 -cs -t ascii//IGNORE | + tr -d '?"' +} # 1: fix directories for f in *; do diff --git a/bin/sync-mp3 b/bin/sync-mp3 new file mode 100755 index 0000000..baab204 --- /dev/null +++ b/bin/sync-mp3 @@ -0,0 +1,2 @@ +#!/bin/sh +rsync -hvrltD --delete -@ 1 --stats --info=progress2 marc@192.168.1.197:Music/mp3/ . |
