Category Archives: Server Side Development

Development, tips and tricks for server side shortcuts, enhancements and general knowledge sharing.

Dealing with a subversion conflict

I always find blogging what i find out is a good idea, we sometimes get conflicts with our subversion repository so here is a list …

View more

Tagged: 5 Comments

Move files from one directory into another without affecting the existing directory using mac terminal

As part of using mac terminal more and more in my own day to day work, I today needed to be able to move all …

View more

Tagged: 1 Comment

Simple Essential Subversion Commands

As we are now using subversion here at Bytewire I thought it might be useful to just blog a few of the essential commands. svn …

View more

Tagged: Leave a Comment

How to tunnel a mysql connection to your remote server

Today I spent alot of the day sorting our development techniques to bring a best practise into what we do. We needed to both be …

View more

Tagged: Leave a Comment

Download a file / folder using mac terminal and curl

Simply use the following command: curl -O http://www.yoursite.com/backup/mybackup.tar.gz Will simply download the file to your local machine and your current location. To change the current …

View more

Tagged: 1 Comment

How to create a tar gzip backup of your websites files and folders mac terminal

Simply use the following command: Firstly cd into the directory you want the backup to go into so cd /sites/backups/ tar cvfz backupname.tar.gz /sites/yoursite.com/http This …

View more

Tagged: Leave a Comment

How to remove a entire directory, files and sub directories using mac terminal

Terminal Mac Simply use the following command: rm -rf /sites/yoursite/http2 This will force remove all files and folders under the toplevel folder you specified so …

View more

Tagged: Leave a Comment

Mysql dump a backup using terminal & ssh/ shell

I decided today to take a backup of a database in the usual way using phpmyadmins export facility. I exported it to a zip file …

View more

Tagged: 1 Comment