finding files with uppercase characters

Oliver Marshall Oliver.Marshall at g2support.com
Wed May 11 20:28:45 UTC 2011


Thanks all of you.

There were more files than I thought. What would I need to add to just
count the number of files returned rather than list them all?

Olly

On 10/05/2011 17:20, "Jordon Bedwell" <jordon at envygeeks.com> wrote:

>On 5/10/2011 11:15 AM, Jordon Bedwell wrote:
>> On 5/10/2011 11:06 AM, Oliver Marshall wrote:
>>> Hi chaps, does anyone know of a command I can use
>>> to search a directory (and subs) for any filenames
>>> containing uppercase characters?
>>
>> find -regex "^[A-Z_\-\s]+$" /home/folder
>
>Correction:
>
>find -regex "^[A-Z_\-\s]{1,}(\.[A-Za-z1-9]{1,})?$" /home/folder
>
>
>--
>ubuntu-users mailing list
>ubuntu-users at lists.ubuntu.com
>Modify settings or unsubscribe at:
>https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

>





More information about the ubuntu-users mailing list