Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
shell:find [2020/05/29 00:26]
tmade [find]
shell:find [2020/06/20 05:10] (current)
tmade [find]
Line 20: Line 20:
   find . -type d -exec chmod 775 {} \;                                       #Find folder in "." and change to 775   find . -type d -exec chmod 775 {} \;                                       #Find folder in "." and change to 775
   find . -type f -print0 | xargs -0 chmod 666                                #Find files in "." and chmod to 666   find . -type f -print0 | xargs -0 chmod 666                                #Find files in "." and chmod to 666
 +  find . -name "*.sh" -type f -print0 | xargs -0 chmod 700                   #Find all files named "*.sh" in "." and chmod to 700
shell/find.txt ยท Last modified: 2020/06/20 05:10 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki