One last question! :). If I want to keep a particular directory, and all files and subdirectories completly private to my user, how do I do apply the suggested filters to this? (If I do chmod 600 * -R or something, it will set all the files correctly, but then since the directories don't have the execute bit, my user can't enter subdirectories). So I want to do 'chmod 600 <all files>' then 'chmod 700 <all directories>'? I tried find . -type d -print | chmod 700, but it didn't work. :(.
Thanks, Timothy On 08-Jun-98 Dean Collins wrote: > To list all directories from the current directory on down, you could do: > > find . -type d -print > > (The -print is actually optional with the 'find' on Linux, but not > on some other flavors of Unix.) > > To generate a 'ls -l' type of listing for all directories under > /usr/local, you could do: > > find /usr/local -type d -ls ---------------------------------- E-Mail: [EMAIL PROTECTED] Date: 08-Jun-98 Time: 15:06:13 This message was sent by XFMail. Powered by GNU/Linux 2.0. ---------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]