[PD] loading an .aif file into an array
Mathieu Bouchard
matju at artengine.ca
Tue May 25 16:44:32 CEST 2010
On Tue, 25 May 2010, jurgen wrote:
> if you have tons of audio files and many contain spaces you can
> 'automate' the renaming process with some freeware, on the mac I use
> 'renamer4mac' which parses libraries even with nested folders and
> replaces spaces (if there are) by anything you chose.
I have a shell script named "underscorify" :
for z in *; do
a=$(echo $z | sed 's/ /_/'g)
mv "$z" "$a"
done
I've used it for about ten years.
You can either paste it in the terminal, or put it in a file that you run
from the terminal. You first have to "cd" to the folder where you want to
do this.
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
More information about the Pd-list
mailing list