diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-06-18 16:12:01 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-06-18 16:12:01 +0200 |
commit | 05e1216b45340702f82a4946002015a05cebe9b1 (patch) | |
tree | 316793ccd39f65e758cdf6ab6957cf677bc8a783 /bin/extra/muz-sync | |
parent | b0cf79d522a609eda250629386eb45c2978ef2d8 (diff) |
checkpoint
Diffstat (limited to 'bin/extra/muz-sync')
-rwxr-xr-x | bin/extra/muz-sync | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/extra/muz-sync b/bin/extra/muz-sync new file mode 100755 index 0000000..a81ef74 --- /dev/null +++ b/bin/extra/muz-sync @@ -0,0 +1,10 @@ +#!/bin/sh +trap "exit 1" INT + +music="$(xdg-user-dir MUSIC)" +>&2 printf "music: %s\n" "$music" + +# recursive, links, fuzzy, partial, progress +while ! rsync -rlyP --size-only db:/media/basilisk/music/sorted/ "$music" +do : +done |