🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #54

Re: Fast Removal

#54
From: Georg Wittig
Date: Tue, 03 Nov 1992 09:41
10 lines
1071 bytes
errant@polari.online.com writes:

>In bourne, what is the quickest way to remove all files not created today?

	find DIR -mtime +1 -type f -print | xargs rm -f
--
Georg Wittig                  GMD-I8.IT                                         Schloss Birlinghoven          P. O. Box 1316                                    D-W-5205 Sankt Augustin 1     Germany
email: Georg.Wittig@gmd.de    telephone: (+49) 2241 14-2294
 ------------------------------------------------------------------------------
"In the beginning was the word, but it wasn't a fixed number of bits."
Technical Details
Message-ID: <wittig.720783715@gmd.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!gmd.de!wittig
References: <1992Nov2.132251.28509@polari>

Show Full Headers
Complete Article Headers
Newsgroups: comp.unix.shell
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!gmd.de!wittig
From: wittig@gmd.de (Georg Wittig)
Subject: Re: Fast Removal
Message-ID: <wittig.720783715@gmd.de>
Keywords: Fast Removal
Sender: news@gmd.de (USENET News)
Nntp-Posting-Host: gmdzi
Organization: GMD, Sankt Augustin, Germany
References: <1992Nov2.132251.28509@polari>
Date: Tue, 3 Nov 1992 09:41:55 GMT
Lines: 10