From
|
pbm <pbm@autistici.org>
|
Date
|
Thu, 24 Jun 2004 13:44:24 +0200
|
Subject
|
Re: [hackmeeting] Padroneggiare l'ascell - Il ritorno
|
Doctor Zoidberg, Mon, Jun 21, 2004 at 12:37:06AM +0200:
> [artista] - [album]/[numero traccia] - [titolo].mp3
> come faccio a fare in modo che per ogni file, vengano letti i dati "salienti"
> dal nome e vengano assegnati a delle variabili per poi eseguire
> id3convert -s [nomefile]
> id3tag -a[artista] -A[album] -t[numero traccia] -s[titolo] [nomefile]
> e cosė via per ogni file dentro /musica/ ???
find -type f /musica | xargs -n 1 awk '{FS=(/| - ) ; system("id3tag -a \"$1\" -A \"$2\" -t \"$3\" -s \"$4\" \"$0\" ; id3convert -s \"$0\"")}'
Nel comando ho tuttavia inserito volutamente un errore, a te il compito
di capire cosa fa il comando, trovare l'errore e postare il commento
in lista prima di eseguirlo.
p.
--
pbm - "oh this rain it will continue till the morning as I'm listening
- to the bells of the cathedral - I am thinking of your voice"
_______________________________________________
hackmeeting mailing list
hackmeeting@lists.papuasia.org
http://brr.papuasia.org/cgi-bin/mailman/listinfo/hackmeeting