Skip to content

Instantly share code, notes, and snippets.

@prichodko
Created January 13, 2016 10:40
Show Gist options
  • Save prichodko/7a4e7678ec4c207b54ea to your computer and use it in GitHub Desktop.
Save prichodko/7a4e7678ec4c207b54ea to your computer and use it in GitHub Desktop.
Set working directory for new project
#!/bin/sh
NEW_PROJECT="/Users/Felicio/Documents/Developer/Resources/New\ Project"
TARGET_DIR="$1"
if [[ "$TARGET_DIR" == 0 ]]; then
printf "%s\n" "Specify targed directory."
exit 1
fi
#cp -iR "$NEW_PROJECT"/ "$TARGET_DIR"
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment