Re: how to stop subdirectory search when using find command in aix

From: BRUCE HARVEY (btharvey_at_MANDTBANK.COM)
Date: 03/24/05

  • Next message: Fred.Bateman_at_usdoj.gov: "Re: how to stop subdirectory search when using find command in aix"
    Date:         Thu, 24 Mar 2005 06:58:07 -0500
    To: aix-l@Princeton.EDU
    
    

    If you want to ignore the subdirectories, then 'find' is the wrong tool.

    Use 'ls' or 'ls -a' or 'file *' or some other command that relies on
    the 'current directory' or shell substitution.

    B. T. Harvey

    -------------------------------------------
    Bruce T. Harvey
    Unix Systems Technology

    (410) 545-2641
    (410) 545-2630 (fax)
    (443) 465-1204 (cel)

    M & T Bank
    11th Floor West
    25 S. Charles Street
    Baltimore, MD 21201-3336
    btharvey@mandtbank.com

    >>> rajugv@INGVYSYABANK.COM 03/23/05 8:35 PM >>>

    Hi All,

    I want to search for files in curent directory only and i want to
    ignore the
    subdirectories,

    how do i can do it in AIX when using find, as like using maxdepth in
    Linux.

    Regards
    G V Raju


  • Next message: Fred.Bateman_at_usdoj.gov: "Re: how to stop subdirectory search when using find command in aix"