Skip to content

Instantly share code, notes, and snippets.

@dracos
Last active August 19, 2022 21:25
Show Gist options
  • Save dracos/f5d58c54508f8b01aaab8524da40d843 to your computer and use it in GitHub Desktop.
Save dracos/f5d58c54508f8b01aaab8524da40d843 to your computer and use it in GitHub Desktop.
#!/usr/bin/env fish
set N 2
set FILES 1838 1024 0489 0063
curl -o '#1.mp3' 'https://matteason.github.io/scotrail-announcements-june-2022/announcements/{'(string join , $FILES)'}.mp3'
mp3wrap sr$N.mp3 (string split ' ' (string join '.mp3 ' $FILES).mp3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment