I found this to be simpler (at least in the case there are many subfolders):
public/img/*/
This will exclude all subfolders in public/img/, but will not exclude the files in this folder.
I found this to be simpler (at least in the case there are many subfolders):
public/img/*/
This will exclude all subfolders in public/img/, but will not exclude the files in this folder.