Find all files for given user and change ownership
sudo find . -user OLDUSER -exec chown NEWUSER:NEWGROUP “{}” \;
Find all files with given permissions
find -perm mode
Find all files for given user and change ownership
sudo find . -user OLDUSER -exec chown NEWUSER:NEWGROUP “{}” \;
Find all files with given permissions
find -perm mode