17 Jan
2002
17 Jan
'02
11:16
Hi all, How would I write a script that only affected certain groups? Trying to think of an example, how could I run: rm /home/*/file_to_delete only on the home directories of folk who belong to the 'pupil' group. One command I run is find /home -name '*' -maxdepth 1 -exec cp /home/template/file_to_copy '{}'/new_file ';' Can I build a "where user is in group 'pupils'" into that somehow? Apologies if I'm way off on all this. Ignorance isn't bliss. Any ideas or resources to read up on? Ta -- Matt __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/