Re: chmod - display dirs

2024-07-29 Thread Samuel Sieb
On 7/29/24 9:42 AM, bruce wrote: I'm looking to update the permissions of a bunch of folders within a dir (not recursively), but I'd like to display the dirs prior to making changes -- measure twice, then cut. find /etc/*/ -maxdepth 0 -type d -exec ls -dal {} \; --seems to display the list of

Re: chmod - display dirs

2024-07-29 Thread Roger Heflin
That is typically the sort I would do. I usually just use the find option "-ls" and not the exec. And for warm and fuzzy feelings you can add a -ls on thd fine command after the chmod's \; On Mon, Jul 29, 2024 at 11:43 AM bruce wrote: > > Hi > > I'm looking to update the permissions of a bunch

chmod - display dirs

2024-07-29 Thread bruce
Hi I'm looking to update the permissions of a bunch of folders within a dir (not recursively), but I'd like to display the dirs prior to making changes -- measure twice, then cut. find /etc/*/ -maxdepth 0 -type d -exec ls -dal {} \; --seems to display the list of dirs for the test folder... I c