Skip to content

Instantly share code, notes, and snippets.

@prophile
Created September 30, 2011 16:58
Show Gist options
  • Save prophile/1254348 to your computer and use it in GitHub Desktop.
Save prophile/1254348 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ -e $1 ]; then
rm -f $1
else
touch $1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment