Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
find  dir/subdir -type f -exec sed -i 's/foo/bar/g' {} +

...

Find and replace file owner

Code Block
find / -user oldname -exec chown newname:newgroup {} \;