/ Published in: Bash
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
find . | while read i ;do if [ -f $i ];then echo "file:${i}"; chmod 644 ${i} ; fi ; if [ -d $i ];then echo "dir:${i}" ;chmod 755 ${i} ; fi; done
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)