A little script for the days when you head is not working. The script copies files from your local machine on to a remote server (assuming you don’t have SSH keys stored on the server).

  1. Zip the files (I find this cleaner)

  2. Rsync the files

  3. Unzip the files and move them into correct paths