[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: recursive file deletion



On 13-Mar-2000 Bruce Stephens wrote:

 
> find . -name '*.bak' -print0 | xargs -0 rm
> 
> Please check the documentation for find and xargs to make sure you
> understand what the above does!
> 

Absolutely; I don't believe in magic. Knowing how things work is more important
to me than just knowing that it does.

I use find to pipe output to cpio, for making backups of specific file types,
(docs & dbfs), for l8r writing to a cd. I am absolutely ASTOUNDED at what I
don't know about the tools I use every day.


Thanks!

Paul

-- 
----------------------------------
E-Mail: Paul Kallstrom <paul@softracamerica.com>
Date: 13-Mar-2000
Time: 17:19:57

Debian/GNU Linux (Potato) & XFMail
----------------------------------
Random Trekism: Women professionals do tend to over-compensate.
                -- Dr. Elizabeth Dehaver, "Where No Man Has Gone Before",
                   stardate 1312.9.

---
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.3a

mQCNAziz+lIAAAEEAMFaz28Wb0tb53nl/sG7AvGQSMNvGuqhHS+0beHzjNWRFXKT
iRUZ2HjT+0WUfkOGOd9N0MoDKQ/TXCPvx4cUtm7lDnX9GNIBdeP5Wpy6FS5XDJfL
49kktHtWZbshC3L9E0HdvxP0NGrpGEh1JxY5PL22eWZ9VycWlp9RNX/8WadlAAUT
tChQYXVsIEthbGxzdHJvbSA8cGF1bEBzb2Z0cmFjYW1lcmljYS5jb20+iQCVAwUQ
OLP6Up9RNX/8WadlAQGjogP/bB0uiqGYWTkyo5/vGeG6dhwDhU2Ua2RF0Yn/pJbg
TG2o9WLfNzD4xlBP+dXh9bQ2LAR0zw2ZkFu8l78uqxU4YykiDhnADYJaIOWNXutB
lxTqN817w020tMQcEcChUBT40WrqscHFmStVV4kuPft744JWfUB4h5BIZCFaDZw+
zgA=
=er8j
-----END PGP PUBLIC KEY BLOCK-----


Reply to: