Copy to apache script
This script is designed to work with OS X and will copy the specified dir into the users local sites dir.
It looks for the specified dir, and if it exists copies it into apache. If the dir already exists in apache, it first deletes it.
The script takes one parameter, ‘dir’ which is the dir name.
Usage examples:
ca mywebapp copies dir mywebapp into $HOME/sites/mywebapp
NB: all parameters are case insensitive
The script can be found on github here
Advertisement