Chmod files recursively to 644


/ Published in: Bash
Save to your folder(s)

-print0 and -0 are used to allow for spaces and other wacky chars in file names


Copy this code and paste it in your HTML
  1. find . -type f -print0 | xargs -0 chmod 644

Report this snippet


Comments


You need to login to view comments.