Perl MP3 ID3
hey ich habe hier schonmal ein prgramm geschrieben das mp3 tags ausliest und sie anzeigt, einen ordner erstellt mit dem namen des künstlers und dem album.
jetzt wollte ich eig das die mp3 datei auch in den neuen ordner verschoben wird mit dem move befehl, aber das funktioniert nicht. kann mir einer vielleicht dabei helfen. im code habe ich die zeile or die "Could not move '$filename' zu '$cwd/$targetdir/':$!"; als fehlermeldung gibt es: Could not move '04 - Too Close.mp3' zu 'G:/perl/Alex Clare - The Lateness Of The Hour/':Permission denied at mkdir.pl line 62. desweiteren wollte ich auch noch die tags der mp3 datei verändern, aber habe auch keine richtige ahnung wie ich da vorgehen soll. Code:
#!perl |
kannst du vielleicht auch auf English?
|
you have the line move .... (probably line 61) commented out, so or die will be executed anyway.
Du hast die Zeile move($fullpath, "$cwd/$targetdir/$filename") auskommentiert aber die Fehlermeldung bleibt. |
hey I have written a Prgramm which reads mp3 tags and displays it, created a folder with the name of the artist and album.
Now I wanted to move the mp3 file in the new folder with the move command, but that does not work. Perhaps one can help me here. I have the code in line or die "Could not move '$ filename' to '$ cwd / $ targetdir /': $!"; as the error message it gives: Could not move '04 - Too Close.mp3 'to' G :/ perl / Alex Clare - The Lateness of the Hour / ': Permission denied at 62nd mkdir.pl line I would also further modify the tags of the mp3 file, but I do not know what I should do there. |
see above, probably you have forgotten a comment sign?
|
no i have change it but the error message still remains
|
All times are GMT -5. The time now is 12:59 AM. |