-name

From wikieduonline
Jump to navigation Jump to search

find . -name "*"
find . -name YourUnquotedText*
find: paths must precede expression: `YourUnquotedText'
find: possible unquoted pattern after predicate `-name'?
find . -name *
find: paths must precede expression: `archive'
find: possible unquoted pattern after predicate `-name'?
Solution: Add "" to your -name parameter
find . -name "*"

Related[edit]

See also[edit]

Advertising: