Jan 11, 2008 #1 tcardoso Programmer Joined Jan 31, 2005 Messages 56 Location 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 Joined Oct 7, 2005 Messages 82 Location SE find" is your friend! find . -user foobar -exec rm {} \; Upvote 0 Downvote
Jan 11, 2008 Thread starter #3 tcardoso Programmer Joined Jan 31, 2005 Messages 56 Location PT find" and you too Thanks, done Upvote 0 Downvote