May be this is not a good solution, but you can move files into sub directory for each user.. the command should be find . -u tommy -exec mv {} tommyDir \; Note that the tommyDir must exist before otherwise you'll move all files to a unique file named tommyDir and you'll loose all files or may be replace the mv {} tommyDir command by a shell script to do what you REALLY want. I'll checks how you could do this. HTH Regards -----Message d'origine----- De : Eddie Howson [mailto:eddie@cs.rhul.ac.uk] Envoyé : lundi 26 novembre 2001 10:43 À : suse-linux-e@suse.com Objet : [SLE] shell script help Hi All Can some shell script guru help me with creating a scipt that takes the owners of a file and renames that file prefixing it with the owners name and an underscore? For example if the file work.txt is owned by tommy, the file is renamed tommy_work.txt. The directory holds a number of files owned by different users. Thanks Eddie -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com