Skip to content

Instantly share code, notes, and snippets.

@mamchenkov
Last active December 19, 2015 16:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mamchenkov/5982496 to your computer and use it in GitHub Desktop.
Save mamchenkov/5982496 to your computer and use it in GitHub Desktop.
Use the same script for different purposes, based on the name of the file being called (symlinks). Install: chmod +x symlink.php && ln -s another-symlink.php b.php Run: ./symlink.php --with A params && ./another-symlink.php --with B params
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment