My collection of useful bash scripts can now be found on github

  • lget.sh is a simple lftp pget script, pretty useful when you need to download a file

  • apache2config.sh generates a vhost for your domain, only domain and email is needed and the rest is saved as a vhost conf

  • sambaconfig.sh lets you create samba config file

  • triforce 1.2 is a simple backup script that takes backup of whole mysql db and compresses both html files and mysql db files to a folder, where you can mirror it with lftp or use Dropbox, BitTorrent Sync, S3fs or SSHFS