Is there a way to recursively find all files owned by a user and change them to another user/group in Gnu/Linux?
I assume there must be some magic one liner but my command line wizardry skills are not up to that :)
will eventually turn up all files owned by user "john".
If you want to change their ownership (I would run the
will do it.
This is late, but today I stumbled across this question
More specifically I'm migrating a server from OpenSuse to debian, and the user and group of apache2 differ between the distributions. In OpenSuse its user
on the target (debian) machine.