Tag Archives: Linux

Recursively remove .svn directories

NOTE: Check the comments for variable solutions for this predicament. Thanks to everyone for participating!

Sometimes you find yourself in situations where svn cleanup just doesn’t cut it — you need to remove the .svn files and re-add everything. It’s a pain to do that file by file so here’s a little method for doing it all at once.

[bryan@crainbandy] rm -rf `find . -type d -name .svn`

UPDATE (via comments, thanks meinholz) alternatively you can do:

[bryan@crainbandy] find . -type d -name .svn -exec rm -rf {} \;

Don’t say I didn’t tell you.
Bryan

How to find out what Linux Distribution/OS you’re running

Sometimes it’s a pain in the ass to install software on unix based systems without having prior knowledge to the OS/kernel versions.

You’d do something on debian that doesn’t work on CentOS, Fedora has yum pre-installed where as RHEL4 comes with up2date but you have to have a key, then there’s always RPM’s but who really wants to use RPM’s? You might as well just compile it yourself from source.

Here is a few commands that (should) return exactly what kind of linux operating system you are running.

[bryan@crainbandy ~] dmesg | head -1
[bryan@crainbandy ~] cat /proc/version
[bryan@crainbandy ~] cat /etc/issue
[bryan@crainbandy ~] uname -a

I hope that helps. If you can’t figure it out with one of the commands above then I guess you’re S.O.L.

Geaux team.
Bryan

Linux on the iPhone using OpeniBoot

Okay. You can put Linux on your iPhone now. I swear to god the 5th generation of iPhone’s are going to come with softserve dispensers, fountain drink mixers, shaving cream and time machines.

iPhone Linux Demonstration Video from planetbeing on Vimeo.

Yeah. Go get an iPhone already.