Difference between revisions of "-name"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
  <code>[[find .]] -name "*"</code>
 
  <code>[[find .]] -name "*"</code>
 
  
 
  find . -name YourUnquotedText*
 
  find . -name YourUnquotedText*
Line 14: Line 13:
 
  find . -name "*"
 
  find . -name "*"
  
 +
== Related ==
 +
* <code>[[-delete]]</code>
  
 
== See also ==
 
== See also ==
 
* {{find}}
 
* {{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: