Skip to content

Instantly share code, notes, and snippets.

@davelyon
Created October 11, 2010 21:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davelyon/621299 to your computer and use it in GitHub Desktop.
Save davelyon/621299 to your computer and use it in GitHub Desktop.
cp $2 "$1/$2"
cd $1
# Run with . ./test.sh $DIR_TO_CP_TO $FILE
@davelyon
Copy link
Author

method-missing:~ dave$ cp testfile.test /Code/
method-missing:
dave$ cd !:2
cd ~/Code/
method-missing:Code dave$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment