I would like to know if we can know the size of a directory, to detect if it is empty. My goal is to delete it.
cleanup_dir_zz: filesystem: path: F:\zzJDL recursive: yes retrieve: dirs if: - size == 0: accept delete: allow_dir: yes clean_source: 2
It could be “size” or “size_content”. Actually, there is “size_content” only for files.
thank you in advance !