Re: [CentOS] Re: manipulating files and directories with spaces

2007-11-22 Thread William L. Maltby
On Wed, 2007-11-21 at 10:46 +, Tony Mountifield wrote: > In article <[EMAIL PROTECTED]>, > William L. Maltby <[EMAIL PROTECTED]> wrote: > > On Wed, 2007-11-21 at 10:04 +0100, Ralph Angenendt wrote: > > > Shad L. Lords wrote: > > > > find . -type type -print0 | xargs -0 chmod value > > > > > >

Re: [CentOS] Re: manipulating files and directories with spaces

2007-11-21 Thread Ralph Angenendt
Tru Huynh wrote: > you would have the syntax wrong: > find /home/user/ -type f -exec echo {} + > > but it's not available on CentOS-4 (findutils-4.1.20-7.el4.3) > nor CentOS-3 (findutils-4.1.7-9.). Yeah, gnu tools sometimes seem very late when it comes to adopting st

Re: [CentOS] Re: manipulating files and directories with spaces

2007-11-21 Thread Tru Huynh
On Wed, Nov 21, 2007 at 10:45:12AM +, Tony Mountifield wrote: ... > > Maybe, but unless it works on CentOS 5, it is irrelevant to this list. it works on CentOS-5 (findutils-4.2.27-4.1) > It certainly is not available in the "find" on CentOS 4: The request was specific on CentOS-5. What's you

[CentOS] Re: manipulating files and directories with spaces

2007-11-21 Thread Tony Mountifield
In article <[EMAIL PROTECTED]>, William L. Maltby <[EMAIL PROTECTED]> wrote: > On Wed, 2007-11-21 at 10:04 +0100, Ralph Angenendt wrote: > > Shad L. Lords wrote: > > > find . -type type -print0 | xargs -0 chmod value > > > > Or (SUSV compliant): > > > > find . -type f -exec chmod 123 {} + > > P

[CentOS] Re: manipulating files and directories with spaces

2007-11-21 Thread Tony Mountifield
In article <[EMAIL PROTECTED]>, Ralph Angenendt <[EMAIL PROTECTED]> wrote: > William L. Maltby wrote: > > On Wed, 2007-11-21 at 10:04 +0100, Ralph Angenendt wrote: > >> Shad L. Lords wrote: > >>> find . -type type -print0 | xargs -0 chmod value > >> > >> Or (SUSV compliant): > >> > >> find . -ty