View recursive-resample.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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. | |
# |