finding a huge group of files in the current directory older than 30 days and sending them to a gzip’d tar file:
find . -type f -daystart -mtime +30 -name "file*" | tar -c --files-from=- | gzip > file.tar.gz

finding a group of files and deleting them (useful when you can’t do an rm * on a directory because there are a boatload of files in that dir):
find . -exec rm {} \;

helpful, so i thought i’d post them.

-m

Posted in Code/Programming, Geeky Stuff at April 30th, 2008. No Comments.

so i wrote this on a server today hoping to kill off a bunch of duplicated processes that were locked up… as the title states, it worked the first time! i think this will work in most linux distros that have the -ef flag for the ps command:

ps -ef | grep -v grep | grep [runaway process]| awk ‘{print $2}’ | xargs kill -9

in a nutshell, it prints out the process id from the ps command and uses xargs to pipe it to the kill process.

whew! it saved me a ton of typing, so i thought i’d share.

-m

Posted in Code/Programming, Geeky Stuff, Work at April 23rd, 2008. No Comments.

so it’s been a while and there were just a few things that i kept telling myself “dangit i need to write this down”… so here i go!

iris and i went to washington d.c. for the cherry blossom festival a few weeks ago… we toured the capital like most tourists, but we’ve been there a few times already, so we were really just catching up on stuff we hadn’t seen yet… there was a bit of a moment i had where, when we were walking thru the Roosevelt memorial, i said to myself: i wonder why we haven’t had presidents like these, who had convictions like these, in a long while?

unfortunately it doesn’t look like 2008 will bring us one, no matter who wins =/

i’ve finally gotten around to building a new computer… i was telling pip today that it’s been almost a decade since the last time i actually put one together myself. the reality of it is, building a computer hasn’t changed much really, but the amount of options that are out there is crazy… there are too many socket types and chipsets and ram types to keep track of nowadays, but a good guide like the ones that are published at ars technica can help… i used the hot rod guide, but with a few modifications to save on the final cost… it’s such a joy, i can’t believe how much fun i’m actually having building it! the sucky part is having to clean the desk to make room for the new comp, AND to back up my old data (most of which i probably will not even bother to use, so i’ll end up deleting anyway)…

finally, the second half of thrice’s the alchemy index came out this week, and i am enjoying it very much. the second half encompasses the elements air and earth. i still think that the first half, the fire and water albums, are a bit stronger, but as a whole the entire set is magnificent. in this set i have been enjoying the earth disc more, but air has some great tracks as well. their lyrics are very profound and i love how the last song is kind of macabre, yet hopeful and simulates someone (or something) being buried. if you listen to their entire discography, you can see their evolution as artists and it’s amazing. go check them out!

so that’s all for now really… pip and i are trying to work out a new schedule and format for 8bit Ideas, and we have a new logo in the works which is being designed by a great friend of mine at seeing spots. please check out their work!

-m

Posted in Geeky Stuff, Hardware, Life, Music, Reviews at April 19th, 2008. No Comments.