I am trying to create a service in Automator in Mac OS X Mountain Lion. The command that I want to use is as follows:
zip zip-file.zip "$@"
And here is a screen capture of what I did:
It works. But two problems:
zip-file.zipis placed in my home directory
~\. I want to place the zip file in where the original files are.
zip-file.zipcontains the folder structure of the specified files beginning from the root. I want to only include files, or just from the closest parent directory.
What should I do?