Plan 9 from Bell Labs’s /usr/web/sources/contrib/sl/rc/mrip

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc
for(i in *.flac){
	file=`{echo $"i | sed 's/[^a-zA-Z0-9]/_/g; s/_flac$/\.flac/g'}
	cp $"i $file &&
	rm $"i &&
	flac -d $file
}
for(i in *.wav){
	lame -b 320 $i &&
	rm $i &&
	mv $i.mp3 mp3/
}

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.