I am trying to set all folders and subfolders (directories) to 755 and all files that are contained by folders and subfolders to 644.
I don't know how can I do this from 1-2 commands. Is this even possible?
I am trying to set all folders and subfolders (directories) to 755 and all files that are contained by folders and subfolders to 644.
I don't know how can I do this from 1-2 commands. Is this even possible?
Yes you can...
This command sets all directories to permissions 755
and this one sets all files to permissions 644
For better understanding of this command I suggest ExplainShell: http://explainshell.com/