summaryrefslogtreecommitdiff
path: root/bin/sync-ipod
diff options
context:
space:
mode:
authorNicholas Van Doorn <vandoorn.nick@gmail.com>2021-08-04 18:12:54 -0700
committerNicholas Van Doorn <vandoorn.nick@gmail.com>2021-08-17 10:47:48 -0700
commit6af4ba943f6b73e31a0b2bd0262d953a2e954ddb (patch)
tree0cf7b1d160d0671eeacb66004433b63572b96ebd /bin/sync-ipod
Initial commit
Diffstat (limited to 'bin/sync-ipod')
-rwxr-xr-xbin/sync-ipod8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/sync-ipod b/bin/sync-ipod
new file mode 100755
index 0000000..e485ab3
--- /dev/null
+++ b/bin/sync-ipod
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+# Sync the files.
+rsync -uva --ignore-existing "/Volumes/media1/lossless" "/Volumes/IPOD 1/"
+# Convert the album art to a format Rockbox likes.
+# convert-art "/Volumes/IPOD 1/lossless"
+# Delete the originals so Rockbox doesn't try and load them.
+# rm -rf "/Volumes/IPOD 1/lossless/**/*.jpg"