change bpm detect
This commit is contained in:
1 parent
b85cea496f
commit
096bce803a
6 files changed
+258
-359
No files matched your search
@@ -54,7 +54,10 @@ sync args:
|
||||
# write-back cache.
|
||||
usb dst="/media/ntr/MAPLE":
|
||||
@test -d {{dst}} || (echo "USB not mounted at {{dst}}"; exit 1)
|
||||
rsync -rtvh --delete --size-only --no-perms --no-owner --no-group --modify-window=2 "{{justfile_directory()}}/data/usb/" "{{dst}}/"
|
||||
@# -c (checksum), NOT --size-only: maple re-exports keep the SAME file size
|
||||
@# (ANLZ section lengths are deterministic) but change content (waveforms,
|
||||
@# pdb), so a size-only check silently skips them and leaves stale data.
|
||||
rsync -rtvh --delete -c --no-perms --no-owner --no-group --modify-window=2 "{{justfile_directory()}}/data/usb/" "{{dst}}/"
|
||||
sync
|
||||
@# Try udisksctl first (no sudo, handles the udev event); fall back to
|
||||
@# plain `umount` if udisks isn't available. Either way the recipe
|
||||
|
||||
Reference in new issue
Block a user