If a valid subdirectory is passed in as an argument on the command-line, will zip it to .zip file that is located in same directory as executing code:
download sourcecode