From
|
Doctor Zoidberg <doctorzoidberg@stronzi.org>
|
Date
|
Fri, 25 Jun 2004 19:39:53 +0200
|
Subject
|
Re: [hackmeeting] Padroneggiare l'ascell - Il ritorno
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alle 13:44, giovedì 24 giugno 2004, dopo una sessione di brainstorming
selvaggio, i neuroni di pbm hanno scritto:
> find -type f /musica | xargs -n 1 awk '{FS=(/| - ) ; system("id3tag -a
> \"$1\" -A \"$2\" -t \"$3\" -s \"$4\" \"$0\" ; id3convert -s \"$0\"")}'
root@addiction:/ find -type f /Documenti/Musica/
find: paths must precede expression
Usage: find [path...] [expression]
root@addiction:/ find /Documenti/Musica/ -type f
[cut - lista enorme di file]
inoltre, se esegui PRIMA id3tag e POI id3convert, PRIMA scrive i tag, POI li
cancella.
e, comunque,
for RTY in $* ; do
ARTIST=$(echo $RTY|sed 's/ - .*//')
ALBUM=$(echo $RTY|sed 's-/.*--'|sed 's/.* - //')
TRACK=$(echo $RTY|sed 's-.*/--'|sed 's/ - .*//')
TITLE=$(echo $RTY|sed 's/.* - //g'|sed 's/.mp3//')
id3convert -s "$RTY"
id3tag -a"$ARTIST" -A"$ALBUM" -t"$TRACK" -s"$TITLE" "$RTY"
done
(un ringraziamento a The_Nihilant per lo script)
> 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.
Saluti
Doctor Zoidberg
- --
Test-tube babies shouldn't throw stones.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA3GNpuc2sVR9hSLURAkm1AJwM8PsE6BWqkG6CikB/RRT+BB3aXwCdEFdQ
A86l0ZxYrs9PTZncj+OxJYA=
=WCh6
-----END PGP SIGNATURE-----
_______________________________________________
hackmeeting mailing list
hackmeeting@lists.papuasia.org
http://brr.papuasia.org/cgi-bin/mailman/listinfo/hackmeeting