In all likelihood there is not an app that does this for OSX due to lack of a need for such a product.
My suggestion is to hook up the external drive to a windows machine and use one of the many apps (even the included defrag within windows) to do this.