🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp.os.linux
Article #20336

Re: Suchen + Loeschen

#20336
From: Thomas Zajic
Date: Wed, 13 Oct 1999 00:00
21 lines
1324 bytes
On 13 Oct 1999 19:24:01 GMT, Michael Boesch wrote:

> ich moechte in einem Verzeichnis und allen Unterverzeichnis
> alle Backup-dateien loeschen.
> eine Liste erhalte ich ja mit:
> find . | grep ".java~"

Wieso so umst�ndlich? Probier doch 'find . -name "*.java~*"'!

> wie leite ich diese aber an den rm-befehl weiter?
> oder muss ich das ganz anders angehen?

find . -name "*.java~*" | xargs rm

HTH,
Thomas
-- 
=---        Thomas Zajic aka ZlatkO ThE GoDFatheR, Vienna/Austria        ---=
=--   "It is not easy to cut through a human head with a hacksaw." M.C.   --=
=--   Posted with Free Agent 1.11/32 running on Linux 2.0.38/Wine-990731  --=
=---        Spam-proof e-mail: thomas(DOT)zajic(AT)teleweb(DOT)at        ---=
Technical Details
Message-ID: <3804f05c.1676120@news>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <slrn809n2h.lk.mib@erde.cosmos>

Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII
X-Google-Thread: f4b73,af94f60850350bbc
X-Google-Attributes: gidf4b73,public
From: zlatko@gmx.at (Thomas Zajic)
Subject: Re: Suchen + Loeschen
Date: 1999/10/13
Message-ID: <3804f05c.1676120@news>
X-Deja-AN: 536394218
References: <slrn809n2h.lk.mib@erde.cosmos>
X-Complaints-To: news@telekabel.at
X-Trace: news.chello.at 939847970 212.17.89.10 (Wed, 13 Oct 1999 22:52:50 MET DST)
Organization: Microsoft Sucks, Unlimited
Reply-To: zlatko@gmx.at
NNTP-Posting-Date: Wed, 13 Oct 1999 22:52:50 MET DST
Newsgroups: ch.comp.os.linux