Magerun is a very useful commandline tool for dealing with daily Magento development problem like: clean / flush caches reindexing the indices set configuration values in the database (core_config_data) shorthand query syntax for database accesses … It’s developed by netz98 ( and made my daily business so much easier. Installation (Linux)

GIT repository and […]

Size of files and folders in the current directory

To get the size of files and folders in the current directory (disk usage)

To get a list of of the biggest data usage folders and files, you can use:


Get free disk space and partitions

Show free disk space for all existing partitions (disk free):

Example output:


Samba fileserver

All tricks round about samba fileserver goes here. Print Status:

Add User Steps to add a new samba user: add Linux-User(m creates a homedirs under /home/):

set Password:

set Samba-Password

Samba reload



Add user to group Add new User to an existing group

or if […]

Sync files with rsync

To sync filesystems over ssh (with port):

Useful parameters -o StrictHostKeyChecking=no –  tells the the source host to accept the ssh-key from the destination host –exclude-from=’./exclude.txt’ – in exclude.txt each line specifies a path to ignore through synchronization –dry-run – only simulate what would have been transferred –delete – deletes extraneous files from destination host, if the were […]