Barth Barth - 10 months ago 73
Linux Question

How to find files excluding symbolic links?

I want to find files in Linux that follow a certain pattern but I am not interested in symbolic links.

There doesn't seem to be an option to the

command for that.

How shall I do ?

Answer Source

Check the man page again ;) It's:

find -type f

type f searches for regular files only - excluding symbolic links.