problem with 'find' command

David L Norris dave at webaugur.com
Fri Jan 16 08:30:03 UTC 2004


On Fri, 2004-01-16 at 02:27, smoothmilk wrote:
> [smthmlk at fields smthmlk]$ find . -iregex ".*"
> [smthmlk at fields smthmlk]$ find -name "mp3s"
> ./mp3s
> [smthmlk at fields smthmlk]$ find -regex "mp3s"

-regex matches the full pathname rather than the filename.  -name
matches the filename without the path.  man and info pages for find
explain further.

See if this works:
  find -regex "./mp3s"

-- 
 David Norris
  http://www.webaugur.com/dave/
  ICQ - 412039
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040116/302c5cf8/attachment-0001.sig>


More information about the fedora-list mailing list