A lot of video files (that I come across) have square brackets in the file name, and deleting these is tedious.
The only problem with square brackets is that glob views them as a character class, such as '[a-z]'. By replacing each square bracket with a character class consisting only of a single bracket ie. '[[]' or '[]]'; glob stops complaining.
A lot of video files (that I come across) have square brackets in the file name, and deleting these is tedious.
The only problem with square brackets is that glob views them as a character class, such as '[a-z]'. By replacing each square bracket with a character class consisting only of a single bracket ie. '[[]' or '[]]'; glob stops complaining.