[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Every certain user ownership under a directory is replaced with anot
From: |
Greg Wooledge |
Subject: |
Re: Every certain user ownership under a directory is replaced with another user's |
Date: |
Sun, 25 Jun 2023 22:23:02 -0400 |
On Mon, Jun 26, 2023 at 09:18:13AM +0700, Budi wrote:
> How on Linux do we replace every certain user ownership under a
> directory with another user's
Use find(1).
For example: find . -user oldname -exec chown newname {} +