Archive

Archive for the ‘Linux’ Category

Speed up Symfony by installing APC on Ubuntu

January 29th, 2010

APC (Alternative PHP Cache) is an open source code PHP code cache and optimizer (or code accelerator). It is a necessary companion to any Symfony project. Read more…

Linux, PHP, Symfony Framework , , , ,

Linux command to recursively delete .svn folders

November 13th, 2009

find . -name .svn -print0 | xargs -0 rm -rf

Credit: http://codesnippets.joyent.com/posts/show/104

Linux ,

Compare directories / folders using xxdiff

January 9th, 2009

I just found this wonderful tool called xxdiff which is a command line but graphical tool, it didn’t make sense at first, but it is actually a tool that you start from command line but then gives you a graphical UI (a pretty simple but effective UI, in my opinion).

After installing xxdiff, just type a command line like this one to compare two directories recursively:

xxdiff -r /dir1 /dir2

and a GUI window should show up, something like:

One of the wonderful things about the GUI is that you can copy files from one directory to another. And you can also double click on each file to see the differences in the files contents.

I have not explored all the features and capabilities of xxdiff but it seems like a very handy tool to keep around. Very useful for manually synchronizing directories / folders.

Linux, Tools ,