Skip to content

Instantly share code, notes, and snippets.

@mostlyobvious
Created February 24, 2012 23:36
Show Gist options
  • Save mostlyobvious/1904610 to your computer and use it in GitHub Desktop.
Save mostlyobvious/1904610 to your computer and use it in GitHub Desktop.
alias tstamp='date +%Y%m%d%H%M%S'
backup(){
cp -r $1 $1.`tstamp`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment