Group: comp.os.linux.redhat


Subject: find manipulating files with spaces
From: Dave
Date: 11/19/2007 8:59:12 PM
Hello, I've got a rhel box that has a bunch of files restored from a tar archive created on another type of Unix machine. The permissions are completely wrong. I need to change them, owner, and group of both files and directories. I usually do this with a combination of find and xargs as in: find . -type f |xargs chmod 755 this usually works, this time i keep getting files not found error msgs. I check for them with ls and they are there, the problem is the files either have spaces in their names or colons or some other special character. How would i get around this? Thanks. Dave.