Skip to content

Instantly share code, notes, and snippets.

@kylemsguy
Created May 23, 2023 20:13
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 kylemsguy/9db13e208e929070a3180a0c92af403a to your computer and use it in GitHub Desktop.
Save kylemsguy/9db13e208e929070a3180a0c92af403a to your computer and use it in GitHub Desktop.
Recursively strip 1 from converted iTunes music files
for i in *
do
cd $i
for j in *.m4a
do
mv "$j" ${j%" 1.m4a"}.m4a
done
cd ..
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment