[CentOS] manipulating files and directories with spaces
William L. Maltby
CentOS4Bill at triad.rr.comWed Nov 21 09:39:32 UTC 2007
- Previous message: [CentOS] manipulating files and directories with spaces
- Next message: [CentOS] manipulating files and directories with spaces
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 {} + Easier to type and more natural (for me). But less efficient than the xargs version since each file cause a new process to be spawned. For a very large number of items the difference would be noticeable. > > Cheers, > > Ralph > <snip sig stuff> -- Bill
- Previous message: [CentOS] manipulating files and directories with spaces
- Next message: [CentOS] manipulating files and directories with spaces
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list