Jan 11, 2008 #1 tcardoso Programmer Jan 31, 2005 56 PT Hi, How do I delete files that belong to a user or group. I have a directory with files from 2 users, I want to delete only the ones from one user. I looked into rm command and didn't see that option. Thanks
Hi, How do I delete files that belong to a user or group. I have a directory with files from 2 users, I want to delete only the ones from one user. I looked into rm command and didn't see that option. Thanks
Jan 11, 2008 #2 GunnarD IS-IT--Management Oct 7, 2005 82 SE find" is your friend! find . -user foobar -exec rm {} \; Upvote 0 Downvote
Jan 11, 2008 Thread starter #3 tcardoso Programmer Jan 31, 2005 56 PT find" and you too Thanks, done Upvote 0 Downvote