Shell Script = Deleting Empty Folders

Hey All,

Any insight on this would be greatly appreciated.

Objective

  1. Specify a path
  2. Find all Empty Folders
  3. Delete Folder if Empty

thanks in advance

do shell script "/usr/bin/find /Users/username/dir1/dir2 -depth -empty -type d " & "-exec rmdir '{}' \\;"