Skip to content

Instantly share code, notes, and snippets.

Avatar

Thorben Hellweg thllwg

View GitHub Profile
@thllwg
thllwg / recursive-resample.sh
Last active May 20, 2020 — forked from jorgehatccrma/recursive-resample.sh
Recursively resample a bunch of audio files in a directory, using sox
View recursive-resample.sh
#!/bin/bash
# A simple script to recursively resample a bunch of files
# in a directory. Only certain file extensions (mp3, aac,
# flac, wav) are considered.
#
# It takes 2 command line options: `indir` and `outdir`.
# The destination (`outdir`) is relative to the current
# directory of where you were when the script was run.
#