Re: how to stop subdirectory search when using find command in aix
From: BRUCE HARVEY (btharvey_at_MANDTBANK.COM)
Date: 03/24/05
- Previous message: Fred.Bateman_at_usdoj.gov: "Re: how to stop subdirectory search when using find command in aix"
- Maybe in reply to: G V Raju: "how to stop subdirectory search when using find command in aix"
- Next in thread: Fred.Bateman_at_usdoj.gov: "Re: how to stop subdirectory search when using find command in aix"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Fred.Bateman_at_usdoj.gov: "Re: how to stop subdirectory search when using find command in aix"
- Maybe in reply to: G V Raju: "how to stop subdirectory search when using find command in aix"
- Next in thread: Fred.Bateman_at_usdoj.gov: "Re: how to stop subdirectory search when using find command in aix"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]