[kwlug-disc] chown .* without traversing directories?

peter_melse at gto.net peter_melse at gto.net
Fri Dec 9 15:27:40 EST 2022


try chown user:group -R \.*

On 2022-12-09 15:02, William Park via kwlug-disc wrote:
> You probably have to name them explicitly, like .[a-zA-Z0-9]* or .[^.]*
> 
> On 2022-12-09 04:04, Ronald Barnes wrote:
>> 
>> Hey,
>> 
>> I'm trying to chown some "dot" files but I do not want to traverse UP 
>> the directory tree, but I do want to recursively traverse 
>> subdirectories.
>> 
>> 
>> If I run:
>> 
>> chown -vR www-data: ./.*
>> 
>> 
>> It goes up (towards / aka root), but I don't want that.
>> 
>> 
>> What am I overlooking here?  Seems I'm overlooking something very 
>> obvious.
>> 
>> 
>> 
>> Thanks,
>> 
>> rb
>> 
>> _______________________________________________
>> kwlug-disc mailing list
>> To unsubscribe, send an email to kwlug-disc-leave at kwlug.org
>> with the subject "unsubscribe", or email
>> kwlug-disc-owner at kwlug.org to contact a human being.
> 
> _______________________________________________
> kwlug-disc mailing list
> To unsubscribe, send an email to kwlug-disc-leave at kwlug.org
> with the subject "unsubscribe", or email
> kwlug-disc-owner at kwlug.org to contact a human being.




More information about the kwlug-disc mailing list