Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Phil Farrell <farrell@pangea.stanford.edu>
Subject: Re: HELP with remove (rm)
Date: 1997/02/13	[thread overview]
Message-ID: <33037089.68BD@pangea.stanford.edu> (raw)
In-Reply-To: 3300ea4e.9049223@snews.zippo.com


Achachila wrote:
> Sorry but I am new to Digital Unix, could anyone tell me how can I rm
> 1000 of files without getting Arg. list to long?
> I need to rm something like  *96*

Try:
   find /directory-with-your-files -name "*96*" -exec rm {} \;
This will traverse the directory tree and match and remove files
one by one, rather than trying to make one giant command line 
listing all the files.

-- 
Phil Farrell, Computer Systems Manager
Stanford University School of Earth Sciences
farrell@pangea.stanford.edu



  reply	other threads:[~1997-02-13  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-11  5:00 HELP with remove (rm) Achachila
1997-02-13  5:00 ` Phil Farrell [this message]
1997-02-13  5:00   ` Steve Jones
1997-02-13  5:00 ` Lee Doolan
1997-02-14  5:00 ` Alex Nord
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox