Skip to content

Instantly share code, notes, and snippets.

@maxkramer
Created September 16, 2013 19:50
Show Gist options
  • Select an option

  • Save maxkramer/6585648 to your computer and use it in GitHub Desktop.

Select an option

Save maxkramer/6585648 to your computer and use it in GitHub Desktop.
#!/bin/sh
cd /Volumes/Cerberus;
now = $(date +"%m_%d_%Y");
mkdir "Backup_$now";
cd "Backup_$now";
cp ~/ ./;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment