Tutorials TumbleLog Our Thoughts
Bandit Design » Our Portfolio Our Design Contact Us
Quite often at Bandit Design while we're working on your project, we'll stumble upon interesting or humourous things -- so we thought why not share them with the world!
RSS iPhone Random Archive

Bandit Design

This is a TumbleLog authored at the desks of Bandit Design. We're a small web and graphic design studio based in Wellington, New Zealand.

Visit Bandit Design »

10 March 2010

HowTo: Automatic Custom Daily Backup on OSX

Just wrote an OSX script to automate my daily backups on OSX. I simply backup all of the important files and settings that I have at 11am and 4pm each day to a folder called Backup, which I then back up to S3 using the epic Arq;

  1. Open a Terminal window - don’t worry if you’re not used to it, neither am I!
  2. Create and edit a file called osx-backup-script.sh somewhere; sudo nano ~/osx-backup-script.sh
  3. Add the following code to it (be sure to change USER to your OSX username!):
    
    #!/bin/sh
    
    # YOUR USERNAME
    USER=bandit
    
    # PHOTOSHOP
    sudo rsync -axS --delete $* "/Users/$USER/Library/Preferences/Adobe Photoshop CS4 Settings/WorkSpaces/" "/Users/$USER/Backup/Adobe Photoshop/"
    
    # APACHE
    sudo rsync -axS --delete $* "/etc/apache2/" "/Users/$USER/Backup/Apache/"
    
    # CODA
    sudo rsync -axS --delete $* "/Applications/Coda.app" "/Users/$USER/Backup/Coda/"
    sudo rsync -axS --delete $* --exclude=**/* --include="*panic.Coda*.plist" "/Users/$USER/Library/Preferences/" "/Users/$USER/Backup/Coda/Library/Preferences/"
    
    # GOOGLE CHROME
    sudo rsync -axS --delete $* "/Applications/Google Chrome.app" "/Users/$USER/Backup/Google Chrome/"
    sudo rsync -axS --delete $* --exclude=**/* --include="*google.Chrome*.plist" "/Users/$USER/Library/Preferences/" "/Users/$USER/Backup/Google Chrome/Library/Preferences/"
    sudo rsync -axS --delete $* "/Users/$USER/Library/Application Support/Google/Chrome/" "/Users/$USER/Backup/Google Chrome/Library/Application Support/Google/Chrome/"
    
    # MYSQL
    sudo rsync -axS --delete $* "/usr/local/mysql/data/cyclenow" "/Users/$USER/Backup/MySQL/data"
    
  4. Feel free to add more stuff to backup - that’s just what I use
  5. Change its access permissions; chmod u+x ~/osx-backup-script.sh;
  6. Time to automate! Type export EDITOR=nano;
  7. Enter crontab -e;
  8. Once the crontab loads up, type in: * 11,16 * * * sudo /Users/bandit/Documents/Work/osx-backup-script.sh - don’t forget to put in your own username instead of “bandit”!
  9. You’re done! Your files should now backup at 11am and 4pm each day to a folder called Backup in your home folder :-)
ilovecharts:kevinnuut:

Underwater Skyscraper.
Water-Scraper is an interesting approach to population growth, given that our seas are slowly rising.  It is a futuristic idea from eVolo’s 2010 skyscraper competition. Being a nerd and having seen every episode of SeaQuest and SeaLab 2021, I fully support this architecture design.  It looks like a giant jelly fish and each scraper is self sustaining. Thanks Inhabitat!

ilovecharts:kevinnuut:

Underwater Skyscraper.

Water-Scraper is an interesting approach to population growth, given that our seas are slowly rising.  It is a futuristic idea from eVolo’s 2010 skyscraper competition. Being a nerd and having seen every episode of SeaQuest and SeaLab 2021, I fully support this architecture design.  It looks like a giant jelly fish and each scraper is self sustaining. Thanks Inhabitat!

stammy:clavicula:francise:splitpeavintageblog:dirtyhumans

“The townspeople of Oakville, Washington, were in for a surprise on August 7, 1994. Instead of their usual downpour of rain, the inhabitants of the small town witnessed countless gelatinous blobs falling from the sky. Once the globs fell, almost everyone in Oakville started to develop severe, flu-like symptoms that lasted anywhere from 7 weeks to 3 months. Finally, after exposure to the goo caused his mother to fall ill, one resident sent a sample of the blobs for testing. What the technicians discovered was shocking – the globs contained human white blood cells. The substance was then brought to the State Department of Health of Washington for further analysis. With another startling reveal, they discovered that the gelatinous blobs had two types of bacteria, one of which is found in the human digestive system. However, no one could successfully identify the blob, and how they were connected to the mysterious sickness that plagued the town.”

stammy:clavicula:francise:splitpeavintageblog:dirtyhumans

“The townspeople of Oakville, Washington, were in for a surprise on August 7, 1994. Instead of their usual downpour of rain, the inhabitants of the small town witnessed countless gelatinous blobs falling from the sky. Once the globs fell, almost everyone in Oakville started to develop severe, flu-like symptoms that lasted anywhere from 7 weeks to 3 months. Finally, after exposure to the goo caused his mother to fall ill, one resident sent a sample of the blobs for testing. What the technicians discovered was shocking – the globs contained human white blood cells. The substance was then brought to the State Department of Health of Washington for further analysis. With another startling reveal, they discovered that the gelatinous blobs had two types of bacteria, one of which is found in the human digestive system. However, no one could successfully identify the blob, and how they were connected to the mysterious sickness that plagued the town.”

09 March 2010
08 March 2010
06 March 2010
timdej:

Paw placement of house cats when navigating beds containing sleeping male humans via img188.imageshack.us

timdej:

Paw placement of house cats when navigating beds containing sleeping male humans via img188.imageshack.us

04 March 2010
03 March 2010