🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.admin
Article #4429

Re: Find Files

#4429
From: stanislav shalunov
Date: Sat, 31 Jul 1999 00:00
9 lines
1262 bytes
"UNIX" <khurram.khan@qict.net> writes:

> I want a script which find my desired files and then remove them and also
> log name of these files in a file in append mode

find dirname (criteria for your desired files) -print | \
	tee -a logfile | xargs rm -f

"man find" will tell you more about find.
Technical Details
Message-ID: <87hfmkdyii.fsf@sharik.worldnet.att.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37a28390@news.uk.ibm.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f63da,c20403f6719a312f
X-Google-Attributes: gidf63da,public
X-Google-Thread: 1020c6,c20403f6719a312f
X-Google-Attributes: gid1020c6,public
X-Google-Thread: 103163,c20403f6719a312f
X-Google-Attributes: gid103163,public
X-Google-Thread: 104fad,c20403f6719a312f
X-Google-Attributes: gid104fad,public
X-Google-Thread: 115614,c20403f6719a312f
X-Google-Attributes: gid115614,public
From: stanislav shalunov <shalunov@att.com>
Subject: Re: Find Files
Date: 1999/07/31
Message-ID: <87hfmkdyii.fsf@sharik.worldnet.att.net>
X-Deja-AN: 507490016
References: <37a28390@news.uk.ibm.net>
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc01.worldnet.att.net 933473995 26916 12.68.39.92 (1 Aug 1999 02:19:55 GMT)
Organization: AT&T WorldNet Services
NNTP-Posting-Date: 1 Aug 1999 02:19:55 GMT
Newsgroups: comp.unix.admin,comp.unix.aix,comp.unix.aux,israel.lists.aix-il,stgt.uni-s.aix