[PD] gui [ot]

CK x at meta.lo-res.org
Mon Sep 16 12:54:51 CEST 2002


I read:
> Also, what about if you have a directory full of 100s of mp3s and you want 
> to selectively go through the list only deleting certain ones. For me it's 
> quicker to use a graphical filebrowser and select the ones you want to 
> delete using the mouse - far less keystrokes than typing rm filename.mp3 
> each time. Other operations i find it quicker to use the command line.


hmm I'm just fine with
rm -i `locate -i ligeti | grep -i mp3` 
or use filename completion ...

or 

#!/bin/bash
for FILE in `locate -i $1 | grep -i "\.$2$`; do
 echo $FILE
 mpg123 -q $FILE
 rm -i $FILE
done


warning ... the above is untested if you use it to wipe your files,
don't complain to me ...

regards,

x

-- 
chris at lo-res.org	Postmodernism is german romanticism with better
http://pilot.fm/	special effects. (Jeff Keuss / via ctheory.com)




More information about the Pd-list mailing list