Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xargs and rm funkiness
Date: Sat, 22 May 2010 22:03:07
Message-Id: 20100522230226.3e78f105@zaphod.digimed.co.uk
In Reply to: Re: [gentoo-user] xargs and rm funkiness by Jan Engelhardt
1 On Sat, 22 May 2010 20:38:53 +0200 (CEST), Jan Engelhardt wrote:
2
3 > >xargs can suck with anything but plain ASCII-without-spaces
4 > >filenames.,
5 >
6 > That's why you use NUL terminators. Simple as that.
7
8 That only helps with spaces, what if filenames contain other reserved
9 characters?
10
11 > Also find's -exe calls rm *for each* file when used with \;.
12
13 Which is why I suggested +, but the -delete option may be even better.
14
15
16 --
17 Neil Bothwick
18
19 Echo > Speak: "Whale oil beef hooked"

Attachments

File name MIME type
signature.asc application/pgp-signature