wf49670 / ppgen

Post-processing generator for DP
6 stars 4 forks source link

Skip over dotfiles when reviewing image extensions #95

Open tangledhelix opened 6 months ago

tangledhelix commented 6 months ago

While examining image file extensions, skip over any files whose name begins with "." which on Linux & macOS are meant to be ignored.

On macOS specifically the Finder creates metadata files called ".DS_Store", leading me to submit this change, but many other dotfiles might exist that should also be ignored.

Edge case: someone could, for some reason, go against best practice and name their images using a leading dot.