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
Proactive application of technology to business

My interests include technology, personal knowledge management, social change

Related

Next
Previous