Vito wrote: > Vito wrote: > > >>int wrote: >> >> >> >> >>>Si potrebbe tradurre in: >>> >>>find mp3_dir -iname '*.mp3' | while read file >>>do >>> eval $(echo quit | mplayer -slave -identify -ao null -vo null \ >>> -nosound -novideo $file 2>/dev/null |grep ID_AUDIO_BITRATE) >>> test $ID_AUDIO_BITRATE -gt 128000 && cd $(dirname $file) && \ >>> lame -m s -b 128 $(basename $file) >>>done >>> >> >>provato mi da questo errore: ./vito: line 5: test: -gt: unary operator >>expected >>Quindi nn funziona cosi. >>Intanto grazie cmq. >> >
Prova con una variante del genere ale righe 5 e 6: [ $ID_AUDIO_BITRATE -ge 128000 ] && cd $(dirname $file) && \ lame -m s -b 128 $(basename $file) -- Saluti By MCM. << Unix is the most user friendly system I know, the point is that it is really selective about who is indeed its friend. >> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

