Thursday, September 11, 2008

i guess i'm continuing with easy, short but sweet..:)
REinstalling the package on rpm based distro's (RH/fedora/centOS..):
1. rpm -e --nodeps package_name
2. yum install package_name

Thursday, September 04, 2008

friend of mine sent me new album from metallica. btw, i have no idea where he got it from. once i extracted the rar archive i've noticed that all filenames (songs) had some guys name attached to the name of the song:
001-that_was_just_your_life-SOMEUSER.mp3
002-the_end_of_the_line-SOMEUSER.mp3
003-broken_beat_and_scarred-SOMEUSER.mp3
004-the_day_that_never_comes-SOMEUSER.mp3
005-all_nightmare_long-SOMEUSER.mp3
006-cyanide-SOMEUSER.mp3
007-the_unforgiven_iii-SOMEUSER.mp3
008-the_judas_kiss-SOMEUSER.mp3
009-suicide_and_redemption-SOMEUSER.mp3
010-my_apocalypse-SOMEUSER.mp3

bit annoying, isn't it?!

to get rid of 'SOMEUSER' run (easy but sweet):
rename "s/-SOMEUSER//g" *.mp3

result:
001-that_was_just_your_life.mp3
002-the_end_of_the_line.mp3
003-broken_beat_and_scarred.mp3
004-the_day_that_never_comes.mp3
005-all_nightmare_long.mp3
006-cyanide.mp3
007-the_unforgiven_iii.mp3
008-the_judas_kiss.mp3
009-suicide_and_redemption.mp3
010-my_apocalypse.mp3