{"id":266,"date":"2020-01-24T20:25:50","date_gmt":"2020-01-24T20:25:50","guid":{"rendered":"http:\/\/infobymattcole.com\/?p=266"},"modified":"2020-08-04T01:25:39","modified_gmt":"2020-08-04T01:25:39","slug":"python-how-many-files-in-folder-and-sizes","status":"publish","type":"post","link":"https:\/\/infobymattcole.com\/index.php\/2020\/01\/24\/python-how-many-files-in-folder-and-sizes\/","title":{"rendered":"Python: How Many Files in folder and Sizes"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In order to check the files and file sizes, we can use the os.path module. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">import os\nfrom os.path import join\nfor (dirname, dirs, files) in os.walk('.'):\n   for filename in files:\n       if filename.endswith('.txt') :\n           thefile = os.path.join(dirname,filename)\n           print (os.path.getsize(thefile), thefile)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Above is the actual code to check the immediate folder (location you put the Python code in. <\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s break this down<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">import os\nfrom os.path import join<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The first two lines import the OS and Join modules. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">for (dirname, dirs, files) in os.walk('.'):<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This code line does the walkthrough, identifying the directories, folders and files, via the os.walk. The  (&#8216;.&#8217;) tells us to review the current folder we are in. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">for filename in files:<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This line of code will search all files within the folder. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">if filename.endswith('.txt') :<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This line of code provides a check. It is checking for any file names that end in .txt. If it does end in .txt then perform the next line(s) of code. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\"> thefile = os.path.join(dirname,filename)\n           print (os.path.getsize(thefile), thefile)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">These two lines of code perform the function, based on the prior code line. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The first code joins the folder and filename and places it in the variable thefile.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The second line of code does two things. <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Uses the value &#8216;thefile&#8217; and gets the file size, <\/li><li>prints both the file size and the filename.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"651\" height=\"214\" src=\"http:\/\/infobymattcole.com\/wp-content\/uploads\/2020\/01\/folder.png\" alt=\"\" class=\"wp-image-267\" srcset=\"https:\/\/infobymattcole.com\/wp-content\/uploads\/2020\/01\/folder.png 651w, https:\/\/infobymattcole.com\/wp-content\/uploads\/2020\/01\/folder-600x197.png 600w, https:\/\/infobymattcole.com\/wp-content\/uploads\/2020\/01\/folder-300x99.png 300w\" sizes=\"(max-width: 651px) 100vw, 651px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s use the above folder as our example. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"214\" height=\"45\" src=\"http:\/\/infobymattcole.com\/wp-content\/uploads\/2020\/01\/locationoutput.png\" alt=\"\" class=\"wp-image-268\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Running the job for .txt  our result shows the file size as 27, and name. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">   for filename in files:\n       if filename.endswith('.py') :\n           thefile = os.path.join(dirname,filename)\n           print (os.path.getsize(thefile), thefile)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If I changed the filename search to py, and run it, the following outcome is provided.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"351\" height=\"86\" src=\"http:\/\/infobymattcole.com\/wp-content\/uploads\/2020\/01\/locationoutputb.png\" alt=\"\" class=\"wp-image-269\" srcset=\"https:\/\/infobymattcole.com\/wp-content\/uploads\/2020\/01\/locationoutputb.png 351w, https:\/\/infobymattcole.com\/wp-content\/uploads\/2020\/01\/locationoutputb-300x74.png 300w\" sizes=\"(max-width: 351px) 100vw, 351px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">while the Windows version show 1 kb size when viewed, the Python program provides a more detail size. <\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<iframe width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/VeM-FvyDPoA\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\" style=\"grid-template-columns:15% auto\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"741\" height=\"1024\" src=\"http:\/\/infobymattcole.com\/wp-content\/uploads\/2019\/12\/logo_small.png\" alt=\"\" class=\"wp-image-102 size-full\" srcset=\"https:\/\/infobymattcole.com\/wp-content\/uploads\/2019\/12\/logo_small.png 741w, https:\/\/infobymattcole.com\/wp-content\/uploads\/2019\/12\/logo_small-600x829.png 600w, https:\/\/infobymattcole.com\/wp-content\/uploads\/2019\/12\/logo_small-217x300.png 217w\" sizes=\"(max-width: 741px) 100vw, 741px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"wp-block-paragraph\"><strong>Matt Cole has high regard for knowledge share. He has a desire to share critical thinking and information. With a Masters in Information Technology and a wide array of <a href=\"http:\/\/www.mattcole.us\/certifications\">certifications<\/a>, while not working full-time, he wishes to knowledge share through providing insight,  information organization, and critical thinking skills. <br><\/strong><\/p>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">#KnowledgeShare  | Matt Cole | #infobyMattCole<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order to check the files and file sizes, we can use the os.path module. Above is the actual code to check the immediate folder (location you put the Python code in. Let&#8217;s break this down The first two lines import the OS and Join modules. This code line does the walkthrough, identifying the directories,&#8230;<\/p>\n","protected":false},"author":1,"featured_media":270,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_wp_convertkit_post_meta":{"form":"-1","landing_page":"0","tag":"0","restrict_content":"0"},"_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":"","footnotes":""},"categories":[10],"tags":[9,6,5,155,156,157,46,154],"class_list":["post-266","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-growth","tag-infobymattcole","tag-knowledgeshare","tag-mattcole","tag-file","tag-folder","tag-os-path","tag-python","tag-script"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Python: How Many Files in folder and Sizes - Sooner Standards<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/infobymattcole.com\/index.php\/2020\/01\/24\/python-how-many-files-in-folder-and-sizes\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python: How Many Files in folder and Sizes - Sooner Standards\" \/>\n<meta property=\"og:description\" content=\"In order to check the files and file sizes, we can use the os.path module. Above is the actual code to check the immediate folder (location you put the Python code in. Let&#8217;s break this down The first two lines import the OS and Join modules. This code line does the walkthrough, identifying the directories,...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/infobymattcole.com\/index.php\/2020\/01\/24\/python-how-many-files-in-folder-and-sizes\/\" \/>\n<meta property=\"og:site_name\" content=\"Sooner Standards\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-24T20:25:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-04T01:25:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/infobymattcole.com\/wp-content\/uploads\/2020\/01\/pyt.png\" \/>\n\t<meta property=\"og:image:width\" content=\"640\" \/>\n\t<meta property=\"og:image:height\" content=\"453\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Matt\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Matt\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/index.php\\\/2020\\\/01\\\/24\\\/python-how-many-files-in-folder-and-sizes\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/index.php\\\/2020\\\/01\\\/24\\\/python-how-many-files-in-folder-and-sizes\\\/\"},\"author\":{\"name\":\"Matt\",\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/#\\\/schema\\\/person\\\/43d5aec0f811d1758ed2b79e9a15c716\"},\"headline\":\"Python: How Many Files in folder and Sizes\",\"datePublished\":\"2020-01-24T20:25:50+00:00\",\"dateModified\":\"2020-08-04T01:25:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/index.php\\\/2020\\\/01\\\/24\\\/python-how-many-files-in-folder-and-sizes\\\/\"},\"wordCount\":236,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/index.php\\\/2020\\\/01\\\/24\\\/python-how-many-files-in-folder-and-sizes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/infobymattcole.com\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/pyt.png\",\"keywords\":[\"#infobyMattCole\",\"#KnowledgeShare\",\"#MattCole\",\"file\",\"folder\",\"os.path\",\"Python\",\"script\"],\"articleSection\":[\"Growth\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/infobymattcole.com\\\/index.php\\\/2020\\\/01\\\/24\\\/python-how-many-files-in-folder-and-sizes\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/index.php\\\/2020\\\/01\\\/24\\\/python-how-many-files-in-folder-and-sizes\\\/\",\"url\":\"https:\\\/\\\/infobymattcole.com\\\/index.php\\\/2020\\\/01\\\/24\\\/python-how-many-files-in-folder-and-sizes\\\/\",\"name\":\"Python: How Many Files in folder and Sizes - Sooner Standards\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/index.php\\\/2020\\\/01\\\/24\\\/python-how-many-files-in-folder-and-sizes\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/index.php\\\/2020\\\/01\\\/24\\\/python-how-many-files-in-folder-and-sizes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/infobymattcole.com\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/pyt.png\",\"datePublished\":\"2020-01-24T20:25:50+00:00\",\"dateModified\":\"2020-08-04T01:25:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/index.php\\\/2020\\\/01\\\/24\\\/python-how-many-files-in-folder-and-sizes\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/infobymattcole.com\\\/index.php\\\/2020\\\/01\\\/24\\\/python-how-many-files-in-folder-and-sizes\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/index.php\\\/2020\\\/01\\\/24\\\/python-how-many-files-in-folder-and-sizes\\\/#primaryimage\",\"url\":\"https:\\\/\\\/infobymattcole.com\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/pyt.png\",\"contentUrl\":\"https:\\\/\\\/infobymattcole.com\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/pyt.png\",\"width\":640,\"height\":453},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/index.php\\\/2020\\\/01\\\/24\\\/python-how-many-files-in-folder-and-sizes\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/infobymattcole.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python: How Many Files in folder and Sizes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/#website\",\"url\":\"https:\\\/\\\/infobymattcole.com\\\/\",\"name\":\"Sooner Standards\",\"description\":\"Oklahoma&#039;s OAS-CS Resource Library\",\"publisher\":{\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/infobymattcole.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/#organization\",\"name\":\"Sooner Standards\",\"url\":\"https:\\\/\\\/infobymattcole.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/infobymattcole.com\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/cropped-22022423.jpg\",\"contentUrl\":\"https:\\\/\\\/infobymattcole.com\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/cropped-22022423.jpg\",\"width\":140,\"height\":138,\"caption\":\"Sooner Standards\"},\"image\":{\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/infobymattcole.com\\\/#\\\/schema\\\/person\\\/43d5aec0f811d1758ed2b79e9a15c716\",\"name\":\"Matt\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/65d297f0abc0058c85c9b8c20f33c4050922ba030dcc9b63e88240a0e02dc57d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/65d297f0abc0058c85c9b8c20f33c4050922ba030dcc9b63e88240a0e02dc57d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/65d297f0abc0058c85c9b8c20f33c4050922ba030dcc9b63e88240a0e02dc57d?s=96&d=mm&r=g\",\"caption\":\"Matt\"},\"sameAs\":[\"http:\\\/\\\/mattcole.us\"],\"url\":\"https:\\\/\\\/infobymattcole.com\\\/index.php\\\/author\\\/mcwolf71\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python: How Many Files in folder and Sizes - Sooner Standards","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/infobymattcole.com\/index.php\/2020\/01\/24\/python-how-many-files-in-folder-and-sizes\/","og_locale":"en_US","og_type":"article","og_title":"Python: How Many Files in folder and Sizes - Sooner Standards","og_description":"In order to check the files and file sizes, we can use the os.path module. Above is the actual code to check the immediate folder (location you put the Python code in. Let&#8217;s break this down The first two lines import the OS and Join modules. This code line does the walkthrough, identifying the directories,...","og_url":"https:\/\/infobymattcole.com\/index.php\/2020\/01\/24\/python-how-many-files-in-folder-and-sizes\/","og_site_name":"Sooner Standards","article_published_time":"2020-01-24T20:25:50+00:00","article_modified_time":"2020-08-04T01:25:39+00:00","og_image":[{"width":640,"height":453,"url":"https:\/\/infobymattcole.com\/wp-content\/uploads\/2020\/01\/pyt.png","type":"image\/png"}],"author":"Matt","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Matt","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/infobymattcole.com\/index.php\/2020\/01\/24\/python-how-many-files-in-folder-and-sizes\/#article","isPartOf":{"@id":"https:\/\/infobymattcole.com\/index.php\/2020\/01\/24\/python-how-many-files-in-folder-and-sizes\/"},"author":{"name":"Matt","@id":"https:\/\/infobymattcole.com\/#\/schema\/person\/43d5aec0f811d1758ed2b79e9a15c716"},"headline":"Python: How Many Files in folder and Sizes","datePublished":"2020-01-24T20:25:50+00:00","dateModified":"2020-08-04T01:25:39+00:00","mainEntityOfPage":{"@id":"https:\/\/infobymattcole.com\/index.php\/2020\/01\/24\/python-how-many-files-in-folder-and-sizes\/"},"wordCount":236,"commentCount":0,"publisher":{"@id":"https:\/\/infobymattcole.com\/#organization"},"image":{"@id":"https:\/\/infobymattcole.com\/index.php\/2020\/01\/24\/python-how-many-files-in-folder-and-sizes\/#primaryimage"},"thumbnailUrl":"https:\/\/infobymattcole.com\/wp-content\/uploads\/2020\/01\/pyt.png","keywords":["#infobyMattCole","#KnowledgeShare","#MattCole","file","folder","os.path","Python","script"],"articleSection":["Growth"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/infobymattcole.com\/index.php\/2020\/01\/24\/python-how-many-files-in-folder-and-sizes\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/infobymattcole.com\/index.php\/2020\/01\/24\/python-how-many-files-in-folder-and-sizes\/","url":"https:\/\/infobymattcole.com\/index.php\/2020\/01\/24\/python-how-many-files-in-folder-and-sizes\/","name":"Python: How Many Files in folder and Sizes - Sooner Standards","isPartOf":{"@id":"https:\/\/infobymattcole.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/infobymattcole.com\/index.php\/2020\/01\/24\/python-how-many-files-in-folder-and-sizes\/#primaryimage"},"image":{"@id":"https:\/\/infobymattcole.com\/index.php\/2020\/01\/24\/python-how-many-files-in-folder-and-sizes\/#primaryimage"},"thumbnailUrl":"https:\/\/infobymattcole.com\/wp-content\/uploads\/2020\/01\/pyt.png","datePublished":"2020-01-24T20:25:50+00:00","dateModified":"2020-08-04T01:25:39+00:00","breadcrumb":{"@id":"https:\/\/infobymattcole.com\/index.php\/2020\/01\/24\/python-how-many-files-in-folder-and-sizes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/infobymattcole.com\/index.php\/2020\/01\/24\/python-how-many-files-in-folder-and-sizes\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/infobymattcole.com\/index.php\/2020\/01\/24\/python-how-many-files-in-folder-and-sizes\/#primaryimage","url":"https:\/\/infobymattcole.com\/wp-content\/uploads\/2020\/01\/pyt.png","contentUrl":"https:\/\/infobymattcole.com\/wp-content\/uploads\/2020\/01\/pyt.png","width":640,"height":453},{"@type":"BreadcrumbList","@id":"https:\/\/infobymattcole.com\/index.php\/2020\/01\/24\/python-how-many-files-in-folder-and-sizes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/infobymattcole.com\/"},{"@type":"ListItem","position":2,"name":"Python: How Many Files in folder and Sizes"}]},{"@type":"WebSite","@id":"https:\/\/infobymattcole.com\/#website","url":"https:\/\/infobymattcole.com\/","name":"Sooner Standards","description":"Oklahoma&#039;s OAS-CS Resource Library","publisher":{"@id":"https:\/\/infobymattcole.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/infobymattcole.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/infobymattcole.com\/#organization","name":"Sooner Standards","url":"https:\/\/infobymattcole.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/infobymattcole.com\/#\/schema\/logo\/image\/","url":"https:\/\/infobymattcole.com\/wp-content\/uploads\/2026\/06\/cropped-22022423.jpg","contentUrl":"https:\/\/infobymattcole.com\/wp-content\/uploads\/2026\/06\/cropped-22022423.jpg","width":140,"height":138,"caption":"Sooner Standards"},"image":{"@id":"https:\/\/infobymattcole.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/infobymattcole.com\/#\/schema\/person\/43d5aec0f811d1758ed2b79e9a15c716","name":"Matt","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/65d297f0abc0058c85c9b8c20f33c4050922ba030dcc9b63e88240a0e02dc57d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/65d297f0abc0058c85c9b8c20f33c4050922ba030dcc9b63e88240a0e02dc57d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/65d297f0abc0058c85c9b8c20f33c4050922ba030dcc9b63e88240a0e02dc57d?s=96&d=mm&r=g","caption":"Matt"},"sameAs":["http:\/\/mattcole.us"],"url":"https:\/\/infobymattcole.com\/index.php\/author\/mcwolf71\/"}]}},"_links":{"self":[{"href":"https:\/\/infobymattcole.com\/index.php\/wp-json\/wp\/v2\/posts\/266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/infobymattcole.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/infobymattcole.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/infobymattcole.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/infobymattcole.com\/index.php\/wp-json\/wp\/v2\/comments?post=266"}],"version-history":[{"count":3,"href":"https:\/\/infobymattcole.com\/index.php\/wp-json\/wp\/v2\/posts\/266\/revisions"}],"predecessor-version":[{"id":273,"href":"https:\/\/infobymattcole.com\/index.php\/wp-json\/wp\/v2\/posts\/266\/revisions\/273"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/infobymattcole.com\/index.php\/wp-json\/wp\/v2\/media\/270"}],"wp:attachment":[{"href":"https:\/\/infobymattcole.com\/index.php\/wp-json\/wp\/v2\/media?parent=266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infobymattcole.com\/index.php\/wp-json\/wp\/v2\/categories?post=266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infobymattcole.com\/index.php\/wp-json\/wp\/v2\/tags?post=266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}