Clean and Zip Plugin  (Script)

Contributed by: Jay Martin    Forum username: jay (support)


Call this script to remove unwanted files (.pyc for instance) from a plugin, then zip it up for distribution to users.


Put the script somewhere.


I actually call it from an automator action by passing a Get Selected Finder Items action into a Run Shell Script action that runs this script:

/full/path/to/script/ "$@"

You can run it directly from the command line though.