I need help with a script that deletes all but the newest -img directories.
Contents of /media/andy/MAXTOR_SDB2/
01-16-18-img
2018-01-26-11-img
Clonezilla_Images
Family_Movies_AND_PICS
lost+found
MAXTOR_SDB2
sdb2_listing.txt
SDB2_Mountpoint
-img
folders, it's probably simplest to maually see which is newer and setGLOBIGNORE
to that directory's name.