coreutils
[Top][All Lists]
Advanced

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

Re: mkdir and ls display


From: Stephane Chazelas
Subject: Re: mkdir and ls display
Date: Mon, 9 Nov 2015 13:59:58 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

2015-11-09 11:20:20 +0000, Pádraig Brady:
[...]
> In any case you can use `find ... -print0 | xargs -0`
> to handle that.
[...]

Note that that is the FreeBSD syntax, with GNU xargs, you need:

find ... -print0 | xargs -r0 ...

So that ... be not executed when find produces no output.

Or you can use the standard syntax:

find ... -exec ... {} +

-- 
Stephane





reply via email to

[Prev in Thread] Current Thread [Next in Thread]