What i wanna do ..is 2 things find all files in a directory tree and chmod them 644
find all directories in a directory tree and chmod them 775 and i'm trying to do it with the find -exec command. For the directory part i did get this working: chmod 7755 `find . -type d` but for the file part chmod said there was too many files so i wanan try to do it with the -exec option in find. can someone give me a command that would work for this ? ive treid several variations on this command: find . -exec chmod u+wx {} -type f to no avail ..no matter what i do it keeps saying its "missing argument to `-exec' i've tried escaping it with \ tried single and double quotes, tried calling a single command with no arguements i moved the -exec command to the end of the find command ARGH NOTHING! There are about 5,000 files i need to modify. plz help someone :)) nate ----------------------------------------[mailto:[EMAIL PROTECTED] ]-- Vice President Network Operations http://www.firetrail.com/ Firetrail Internet Services Limited http://www.aphroland.org/ Everett, WA 425-348-7336 http://www.linuxpowered.net/ Powered By: http://comedy.aphroland.org/ Debian 2.1 Linux 2.0.36 SMP http://yahoo.aphroland.org/ -----------------------------------------[mailto:[EMAIL PROTECTED] ]-- 11:41pm up 85 days, 11:13, 2 users, load average: 1.74, 1.77, 1.75