Find all directories under /path/to/dir (no sub-directories) and archive them (with relative paths) into files with .tar.gz extension
find /path/to/dir -mindepth 1 -maxdepth 1 -type d -execdir sudo tar -zcpvf {}.tar.gz {} \;