Archive for October, 2009

Find all folders with same name in a directory tree and execute commands on them

Sunday, October 11th, 2009

In a Linux CLI environment you can use the "find" command to search for files or folder. In this tutorial I will explain how to find folders having the same name in a directory tree and execute commands on them. Since the best way to learn is by example, let's consider ...

PHP CLI increase memory limit

Saturday, October 3rd, 2009

When running a PHP script from command line interface (CLI), a higher memory limit may be required in order for the script to be successfully executed. This can be achieved using the "-d" or "--define" option in the command. According to the manual: This option allows you to set a custom ...