The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Restrict my search to current directory. sachin.gangadha UNIX for Dummies Questions & Answers 7 12-01-2007 08:37 AM
how do i exclude the current directory when using find? mjays Shell Programming and Scripting 7 04-24-2007 05:13 AM
want the current directory without the absolute path olimiles Shell Programming and Scripting 2 09-01-2006 04:07 AM
home directory in search path jpprial UNIX for Dummies Questions & Answers 2 09-10-2001 08:42 PM
using find command only in current directory jliebling UNIX for Dummies Questions & Answers 5 02-22-2001 06:00 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-17-2005
Registered User
 

Join Date: Oct 2005
Posts: 6
Stumble this Post!
Question Question about Restricting Search path of FIND to current directory

Hi,

By default FIND command searches for matching files in all the subdirectories within the specified path.

Is there a way to restrict FIND command's search path to only the specified directory and NOT TO scan its subdirectories.

Any help would be more than appreciated.
Thanks and Regards
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-17-2005
vino's Avatar
Supporter (in vino veritas)
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,660
Stumble this Post!
Welcome to the forum.

Here are the rules which says

(5) Search the forums database with your keywords before asking.

And here is the advanced tutorial on find - advanced/complex uses of the find command
Reply With Quote
  #3 (permalink)  
Old 10-17-2005
Registered User
 

Join Date: Oct 2005
Posts: 6
Stumble this Post!
Sorry for the same

Hi,

My requirement was so urgent that I forgot to search the forum and posted the issue st away.

My apologies. Will not repeat the same again.

Thanks
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:41 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0