Interesting uses of Linux “find” command

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

Avatar
Julian Elve
Proactive application of technology to business

My interests include technology, personal knowledge management, social change

Next
Previous
comments powered by Disqus