Most commands support a recursive option that allows you to handle files and files in sub-directories.
For example, if you wanted to change the owner of a home directory and all it's file and subdirectories you would do the following
chown -R user:group /home/name/*
If you just want to change the ownership of files in one directory and not it's sub-directories you can leave out the -R
Last edited by damicatz; 02-05-2005 at 09:25 PM.
|