UN*X Note

just some geek's notes. Placed here in case, I forgot or someone else didn't know...

Tar Pitfall

tar --ignore-failed-read -jxf /srv/common/*.bz2

this is not going to work as expected: instead of unpacking all the bz2 and tar.bz2 archives in /srv/common it will look for filesnamed like the second, third and any other file ending with "bz2" in the first tar.bz2 archive it finds/srv/common and abort with a "not found in archive" message