I am attempting to run this find
command to match files with a camelcased name, with the goal being to put a space between adjacent lower and upper case letters, but it's not matching anything:
find -E . -regex "([a-z])([A-Z])"
An example of a file I'm trying to match is
./250 - ErosPhiliaAgape.mp3
I've tested this regex on this file here and it matches successfully.
What is it I'm doing wrong with my find
command?
-E
is not a standard option. – terdon Dec 23 '16 at 16:06-E
is for extended regex. – Dec 23 '16 at 16:07find
(Linux) is not the same as BSDfind
(OSX) which is not the same as POSIX
find`. Many of the standard tools behave differently in different *nix systems. – terdon Dec 23 '16 at 16:14