Question

File permission of the Sh files

By gabrielturqos ·
I have a directory where a lot of bash script or sh file exist. I want to change their permission to the 770 with the chmod command How can i accomplish that?, Thanks
3 total posts (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Answers

Collapse -

File permission of the Sh files

by edizgeorgi In reply to File permission of the Sh ...

Best way is using find command with the -exec option where you can use chmod.
$ find/my/bashfiles/ -type d -name*.c -exec chmod 770{}\;
(link removed by moderator)

Collapse -

File permission

by multicommsoporte In reply to File permission of the Sh ...

i agree with edizgeorgi that's probably the best way to do it.

Collapse -

File permission of the Sh files

by multicommsoporte In reply to File permission of the Sh ...

Also I recommend you to ask these type of questions in https://stackoverflow.com/

Back to Linux Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums