Skip to content

Instantly share code, notes, and snippets.

@jeffreyiacono
Created March 29, 2013 18:22
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jeffreyiacono/5272579 to your computer and use it in GitHub Desktop.
bak - CLI to easily backup files and directories
# quick and easy backuping
# put int ~/src/bak
cp -r "$1" "$1.bak"
# run this to make this a commandline util
$ ln -s ~/src/bak/bak.sh ~/bin/bak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment