Date: Fri, 05 Dec 2008 09:48:16 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Peter Boosten <peter@boosten.org> Cc: mcoyles@horbury.wakefield.sch.uk, freebsd-questions@freebsd.org Subject: Re: Mass find/replace... Message-ID: <4938F8E0.2040908@infracaninophile.co.uk> In-Reply-To: <4938F4E8.8030304@boosten.org> References: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> <1228395500.2781.41.camel@frodon.be-bif.ulb.ac.be> <200812050551.32850.fbsd.questions@rachie.is-a-geek.net> <004c01c956ba$56497410$02dc5c30$@wakefield.sch.uk> <4938F4E8.8030304@boosten.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Peter Boosten wrote:
| Marc Coyles wrote:
|> I'm presuming it'd be:
|>
|> Find /home/horbury -type f -name "*.bak" -exec \
|> Rm *.bak
|>
|
| find /home/horbury -name "*.bak" -exec rm {} \;
|
find /home/horbury -type f -name '*.bak' -delete
'delete' is a find primitive -- no need to exec any other processes.
Cheers,
Matthew
- --
Dr Matthew J Seaman MA, D.Phil. Flat 3
~ 7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
~ Kent, CT11 9PW, UK
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREDAAYFAkk4+OAACgkQ3jDkPpsZ+VbPwACfUrggUN1yIPqkq3pgCyy6fFzH
sncAn2WW0XD9l9NgNtK4T2IiMqoyxY6f
=1CX6
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4938F8E0.2040908>
