coreutils
[Top][All Lists]
Advanced

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

Re: Coreutils-gotchas


From: Pádraig Brady
Subject: Re: Coreutils-gotchas
Date: Tue, 1 Dec 2015 15:13:35 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 01/12/15 14:58, Mike Frysinger wrote:
> On 30 Nov 2015 10:37, Eric Blake wrote:
>> On 11/28/2015 11:34 PM, Assaf Gordon wrote:
>>> On 11/29/2015 12:16 AM, Pádraig Brady wrote:
>>>
>>>>> I must collate some gotchas like this.
>>>>
>>>> Initial list started at:
>>>> http://www.pixelbeat.org/docs/coreutils-gotchas.html
>>>>
>>>
>>> Fantastic list!
>>
>> Agreed.
>>
>> On the chmod entry, it might also be worth mentioning that:
>>
>>  chmod -R a-x,a+X
>>
>> works to remove execute permissions on regular files but not
>> directories, without needing a 'find'/'xargs' pair.
> 
> the xargs usage seems pointless/wasteful to me.  just do:
>       find -type f -exec chmod 644 {} +

Updated. thanks



reply via email to

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