chriscz / pysorter

A command line utility for organizing files and directories according to regex patterns.
Mozilla Public License 2.0
44 stars 17 forks source link

Case-Insensitive File Extensions #30

Closed miou-gh closed 7 years ago

miou-gh commented 7 years ago

I've noticed that files with upper-cased extensions (e.g. cake.GIF) are being sorted into the 'other' directory.

I'm aware of the possibility of case-sensitive filenames in Linux file systems, as well as NTFS in Windows. I believe, despite that possibility, the common types of files should be sorted case-insensitive by default.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 5816d19cb9a4132e35e1d51d2041501350450e8d on atillabyte:develop into 53c6c254b46b8c27a18e54558a9b2db95ae1bd73 on chriscz:develop.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 517ff6d9efd0e2b45fd6e28e0c5aee02129c6951 on atillabyte:develop into 53c6c254b46b8c27a18e54558a9b2db95ae1bd73 on chriscz:develop.

miou-gh commented 7 years ago

I've included some fairly trivial consistency changes, alongside fixing the extension for C# source code files, which should have been 'cs' not 'c#'.

chriscz commented 7 years ago

This is great. Thanks for the effort!