Rsync exclui diretórios vazios

rsync --prune-empty-dirs

# or simply, execute find after rsync, 
find /the_folder_path -type d -empty -delete
steamboatid