Skip to content

Instantly share code, notes, and snippets.

@JJ
Last active March 18, 2017 08:08
Show Gist options
  • Save JJ/2519b654325277c90bf869bd899e49e8 to your computer and use it in GitHub Desktop.
Save JJ/2519b654325277c90bf869bd899e49e8 to your computer and use it in GitHub Desktop.
Backup using Make
.PHONY: clean
BKDIR = /tmp/copia
$(BKDIR): .
rsync -avz $< $@
clean:
rm *~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment