Difference between revisions of "-name"
Jump to navigation
Jump to search
(Redirected page to Find) Tag: New redirect |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{lc}} | |
+ | <code>[[find .]] -name "*"</code> | ||
+ | |||
+ | 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 == | ||
+ | * <code>[[-delete]]</code> | ||
+ | |||
+ | == See also == | ||
+ | * {{find}} | ||
+ | |||
+ | [[Category:Find]] |
Latest revision as of 06:11, 26 July 2022
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: