diff options
| author | Nicholas Van Doorn <vandoorn.nick@gmail.com> | 2021-08-16 01:20:46 -0700 |
|---|---|---|
| committer | Nick Van Doorn <nick@nvandoorn.com> | 2025-04-23 15:04:50 -0700 |
| commit | 58745d81cfe3b8837cf67f1537a8fddd903cbbe9 (patch) | |
| tree | 9083daef67610217df4907886bd55694d2a42648 /bin | |
Initial commit
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/process-music.sh | 14 | ||||
| -rwxr-xr-x | bin/sync-family-azure.sh | 1 | ||||
| -rwxr-xr-x | bin/sync-photos-azure.sh | 1 |
3 files changed, 16 insertions, 0 deletions
diff --git a/bin/process-music.sh b/bin/process-music.sh new file mode 100755 index 0000000..bcf36fe --- /dev/null +++ b/bin/process-music.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +cd /mnt/pool/media + +# Remove interlacing from album art for iPods +find ./downloads/deemix -iname "cover.jpg" -o -iname "cover.gif" -o -iname "cover.png" | while read file + do convert "$file" -interlace none "$file" +done + + +# Copy it over +cp -R ./downloads/deemix/* ./libraries/music +# Clear the download cache folder +rm -rf ./downloads/deemix/* diff --git a/bin/sync-family-azure.sh b/bin/sync-family-azure.sh new file mode 100755 index 0000000..970e1e8 --- /dev/null +++ b/bin/sync-family-azure.sh @@ -0,0 +1 @@ +rclone sync -P --exclude=".DS_Store" /mnt/pool/home/family nvandoorn:family/ diff --git a/bin/sync-photos-azure.sh b/bin/sync-photos-azure.sh new file mode 100755 index 0000000..56b5f3c --- /dev/null +++ b/bin/sync-photos-azure.sh @@ -0,0 +1 @@ +rclone sync -P --exclude=".DS_Store" /mnt/pool/home/nick/photos nvandoorn:photos/ |
