[Top][All Lists]
[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 ?
- Metacharacters with the '-name' option in the find command,
fred0a <=