Hi,
I'm trying to only list files and directories in Guid format, but when I execute this command it looks like I'm still getting all of the contents of the current directory.
I see directories like 9ac52398-7850-40ff-8b8c-62d2306d46f3 listed by I also see files like output.txt listed.
Is the regex not working?
I'm trying to only list files and directories in Guid format, but when I execute this command it looks like I'm still getting all of the contents of the current directory.
Code:
find -E . -depth 1 -ls -regex '^(([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12})$'
I see directories like 9ac52398-7850-40ff-8b8c-62d2306d46f3 listed by I also see files like output.txt listed.
Is the regex not working?