{"id":443,"date":"2013-03-01T18:09:50","date_gmt":"2013-03-01T17:09:50","guid":{"rendered":"http:\/\/songoku.homelinux.com\/wordpress\/?p=443"},"modified":"2013-03-01T18:09:50","modified_gmt":"2013-03-01T17:09:50","slug":"change-permissions-recursively-on-filesfolders-linux","status":"publish","type":"post","link":"https:\/\/ndk.sytes.net\/wordpress\/?p=443","title":{"rendered":"Change permissions recursively on files\/folders linux"},"content":{"rendered":"<p>\n\tHi, here 2 commands to change permissions on file types (whitespaces in the filename are working too):\n<\/p>\n<p>\n\tChange all files in a directory:<br \/>\n\t<em># find . -type f -exec chmod 644 {} \\;<\/em>\n<\/p>\n<p>\n\tor change all directories found in a folder:<br \/>\n\t<em># find . -type d -exec chmod 755 {} \\;<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, here 2 commands to change permissions on file types (whitespaces in the filename are working too): Change all files in a directory: # find . -type f -exec chmod 644 {} \\; or change all directories found in a folder: # find . -type d -exec chmod 755 {} \\;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-443","post","type-post","status-publish","format-standard","hentry","category-linuxunix"],"_links":{"self":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=443"}],"version-history":[{"count":0,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/443\/revisions"}],"wp:attachment":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}