To exclude a directory in FIND command, use this command:
find ./* ! -path /foo [ Excludes the directory /foo ]
find . ! -path . [ Excludes the directory . (present working directory) ]
To exclude a directory in FIND command, use this command:
find ./* ! -path /foo [ Excludes the directory /foo ]
find . ! -path . [ Excludes the directory . (present working directory) ]