bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Metacharacters with the '-name' option in the find command


From: fred0a
Subject: Metacharacters with the '-name' option in the find command
Date: Tue, 10 Jul 2012 16:48:44 +0200 (CEST)

Hello,

I do not understand metacharacters with '-name' option in the find command.

Example:

$ls file*
file  file.html

$find . -name file*
find: paths must precede expression: file.html
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] 
[path...] [expression]

Why it does not work like with the ls command ?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]