Thursday, June 18, 2009

How to recursively delete folders

I keep searching for this command in Linux, here is how to recursively delete folders:
rm -fr `find . -name foldername`

I like to use this command to clean a repository of subversion folders, for example:
rm -fr `find . -name .svn`

Labels:

Wednesday, June 17, 2009

Trying to compile Qt 4.5.0

So after compiling Qt 4.5.0 a ton of times and continuing to run into the same issue where I have to grep the internet to find the dependencies, I figured I would post them this time.

To build Qt 4.5.0 on Debian Lenny, the easiest way for me so far is to run this first:
sudo apt-get install qt4-dev-tools libx11-dev libfreetype6-dev libavahi-gobject-dev libSM-dev libXrender-dev libfontconfig-dev libXext-dev

I hope this helps someone.

Credit:
http://ubuntuforums.org/showthread.php?p=7438479#post7438479

Labels: