{"id":2409,"date":"2017-12-08T09:37:06","date_gmt":"2017-12-08T09:37:06","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=2409"},"modified":"2020-01-09T09:55:35","modified_gmt":"2020-01-09T09:55:35","slug":"my-shell-script-usage-collection","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/my-shell-script-usage-collection\/","title":{"rendered":"My Shell Script Usage Collection"},"content":{"rendered":"<p><strong>sgadmin created the topic: My Shell Script Usage Collection<\/strong><br \/>\nCount Total number of files in Directory and Subdirectory<br \/>\n> find . -type f | wc \u2013l<\/p>\n<p>Count Specific extention files in Directory and Subdirectory<br \/>\n> find . -type f -name \\*.mnp |wc \u2013l<\/p>\n<p>Count only Directory<br \/>\n> find . -type d | wc \u2013l<\/p>\n","protected":false},"excerpt":{"rendered":"<p>sgadmin created the topic: My Shell Script Usage Collection Count Total number of files in Directory and Subdirectory > find . -type f | wc \u2013l Count Specific extention files in Directory and Subdirectory > find . -type f -name \\*.mnp |wc \u2013l Count only Directory > find . -type d | wc \u2013l<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[454],"tags":[138],"class_list":["post-2409","post","type-post","status-publish","format-standard","hentry","category-shell-script","tag-shell"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2409","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=2409"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2409\/revisions"}],"predecessor-version":[{"id":2410,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2409\/revisions\/2410"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=2409"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=2409"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=2409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}