Posted By

stiobhart on 06/07/09


Tagged

command server unix nix chown


Versions (?)

*nix - find and change


 / Published in: Bash
 

find all files owned by xxx and change them to be owned by yyy

  1. # find all files owned by ‘501’ and change them to be owned by wee me:
  2.  
  3. sudo find / -user 501 -print0 | xargs -0 chown madra

Report this snippet  

You need to login to post a comment.