in reply to mark unreadable file so a loop does not read the file again
Sounds like you need to keep a configuration file of some sort that contains a black list of files (files to ignore). There are many modules that you could use for this purpose, but my current favourite is YAML.
|
|---|