Julf <[email protected]> writes: > rkrug wrote: >> But I hate re-inventing the wheel - did somebody write a script for >> this >> already? > > > Code: > -------------------- > #!/bin/sh > > if [ $# -ne 1 ] > then > echo usage: $0 music_dir > exit 1 > fi > > find $1 -type f -name '*.flac' | ( > while read file > do > if ! flac -stw "$file" > then > echo $file > fi > done > ) > > --------------------
Thanks - this looks nice. I'll probably add some more logging and info, but thanks a lot, Rainer > > > > "To try to judge the real from the false will always be hard. In this > fast-growing art of 'high fidelity' the quackery will bear a solid gilt > edge that will fool many people" - Paul W Klipsch, 1953 > ------------------------------------------------------------------------ > Julf's Profile: http://forums.slimdevices.com/member.php?userid=42050 > View this thread: http://forums.slimdevices.com/showthread.php?t=105412 > > _______________________________________________ > discuss mailing list > [email protected] > http://lists.slimdevices.com/mailman/listinfo/discuss -- Rainer M. Krug email: Rainer<at>krugs<dot>de PGP: 0x0F52F982
signature.asc
Description: PGP signature
_______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/discuss
