finding files with uppercase characters
Jordon Bedwell
jordon at envygeeks.com
Tue May 10 16:20:12 UTC 2011
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
More information about the ubuntu-users
mailing list