Skip to content

Instantly share code, notes, and snippets.

@Mnkai
Created March 20, 2017 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mnkai/133946f96ada83c3e240009086fe323c to your computer and use it in GitHub Desktop.
Save Mnkai/133946f96ada83c3e240009086fe323c to your computer and use it in GitHub Desktop.
Script for transfering preconverted ATRAC3 files to NetMD
#!/bin/zsh
for file in $PWD/*.(aa3) ; do
fullfilename=$(basename $file)
filename=${fullfilename%.*}
# linux-minidisc found here: https://wiki.physik.fu-berlin.de/linux-minidisc/doku.php
sudo ../netmdcli send "$fullfilename" "$filename"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment