Compress and extract files

With tar On Unix based plattforms you can use the tar command for file compression and also for later uncompression. Compression

With -h as the first parameter the real files instead symbolic links are compressed. So you can tar symbolic link targets. To exclude files or folder, you can define –exclude=’fileOFolderPath’ directly after the tar command. […]


There are conditional commands for MySQL too. IF/ELSE

Or cascaded:

Register helper class

To register a helper for your module, you can add the following snippet inside the global tag of your config.xml: