{"id":683,"date":"2010-03-18T13:22:47","date_gmt":"2010-03-18T07:52:47","guid":{"rendered":"http:\/\/kedar.nitty-witty.com\/?p=683"},"modified":"2010-11-13T03:01:36","modified_gmt":"2010-11-13T03:01:36","slug":"batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename","status":"publish","type":"post","link":"https:\/\/kedar.nitty-witty.com\/blog\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename","title":{"rendered":"batch script to add remove prefix zero pad bulk file rename"},"content":{"rendered":"<p>This post has two batch scripts:<br \/>\n<strong>1. Batch script to rename files with zero padded number series-prefix<\/strong><\/p>\n<p><strong> <\/strong><\/p>\n<p><strong>2. Batch script to remove prefix of perticular length<br \/>\n<\/strong><\/p>\n<h2>1. Batch script to rename files with zero padded number series-prefix<\/h2>\n<p>This script will accept file-type to be searched and lenght of zero-padded prefix to be attached.<\/p>\n<p>Usage: RenZeroPad.bat<\/p>\n<p>Consider you have to rename \/ arrange a lot of mp3 files in a perticular sequence:<\/p>\n<p>File names before execution:<br \/>\n<em>fileX.mp3<br \/>\nfileY.mp3<br \/>\nfileZ.mp3<\/em><\/p>\n<p>Command on dos prompt: RenZeroPad.bat mp3 4<\/p>\n<p>File names with attached prefix:<br \/>\n<em>0001 fileX.mp3<br \/>\n0002 fileY.mp3<br \/>\n0003 fileZ.mp3<\/em><\/p>\n<p style=\"text-align: right;\">[ad#ad-2-300&#215;250]<\/p>\n<p><strong>The Batch Script to add zero pad digits prefix:<\/strong><\/p>\n<p><em>@echo off<br \/>\nsetLocal EnableDelayedExpansion<\/em><\/p>\n<p><em> <\/em><\/p>\n<p>set \/a cnt=1<br \/>\nfor %%i in (*.%1) do (<br \/>\ncall :Set0Pad %2<\/p>\n<p>set newName=!str! %%i<br \/>\nren &#8220;%%i&#8221; &#8220;!newName!&#8221;<br \/>\n)<\/p>\n<p><em>:Set0Pad<br \/>\nset padcntr=0000000000%cnt%<br \/>\nset str=%padcntr:~-%1%<br \/>\nset renstr=%str%<br \/>\nset \/a cnt+=1<\/em><\/p>\n<p><em>** Download available at the end of the page.<\/em><\/p>\n<p style=\"text-align: right;\">\n<h2>2. Batch script to remove prefix of perticular length<\/h2>\n<p>This script will accept file-type to be searched and lenght of prefix to be removed.<\/p>\n<p>Usage: RemovePrefix.bat<\/p>\n<p>Consider you have to rename \/ remove prefixes from a bunch of files:<\/p>\n<p><em>0001_fileX.doc<br \/>\n0002_fileY.doc<br \/>\n0003_fileZ.doc<\/em><\/p>\n<p>Command on dos prompt: RemovePrefix.bat mp3 5<\/p>\n<p>Files will be renamed with removed prefixes as follows:<br \/>\n<em>fileX.doc<br \/>\nfileY.doc<br \/>\nfileZ.doc<\/em><\/p>\n<p><strong>The Batch Script to remove prefix:<br \/>\n<\/strong><\/p>\n<p><em>@echo off<br \/>\nsetLocal EnableDelayedExpansion<\/em><\/p>\n<p><em> <\/em><\/p>\n<p><em>set \/a cnt=1<br \/>\nfor %%i in (*.%1) do (<br \/>\nset str=%%i<br \/>\nset newstr=!str:~%2!<br \/>\nren &#8220;%%i&#8221; &#8220;!newstr!&#8221;<br \/>\n)<\/em><\/p>\n<p><strong>Download<\/strong>: <a href=\"http:\/\/kedar.nitty-witty.com\/wp-content\/uploads\/2010\/03\/removeprefix.bat_.txt\" target=\"_blank\">RemovePrefix.bat<\/a> and\u00a0<a href=\"http:\/\/kedar.nitty-witty.com\/wp-content\/uploads\/2010\/03\/renzeropad.bat_.txt\" target=\"_blank\">RenZeroPad.bat<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"This post has two batch scripts: 1. Batch script to rename files with zero padded number series-prefix 2. Batch script to remove prefix of perticular length 1. Batch script to&hellip;\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[6],"tags":[18,102,426,125],"class_list":["post-683","post","type-post","status-publish","format-standard","category-technical","tag-batch","tag-script","tag-technical","tag-windows"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"This post has two batch scripts: 1. Batch script to rename files with zero padded number series-prefix 2. Batch script to remove prefix of perticular length 1. Batch script to rename files with zero padded number series-prefix This script will accept file-type to be searched and lenght of zero-padded prefix to be attached. Usage: RenZeroPad.bat\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Kedar\"\/>\n\t<meta name=\"google-site-verification\" content=\"_Bu1h5r0PxIC0D2jBVdmYN45RTeG9ogcX85XLkbG1qA\" \/>\n\t<meta name=\"msvalidate.01\" content=\"116B62074CBCA1BA99B8CCE09CCF2FB8\" \/>\n\t<meta name=\"keywords\" content=\"batch,script,technical,windows\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/kedar.nitty-witty.com\/blog\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Change Is Inevitable | Kedar Vaijanapurkar&#039;s Blog for MySQL, technology and various subjects\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"batch script to add remove prefix zero pad bulk file rename | Change Is Inevitable\" \/>\n\t\t<meta property=\"og:description\" content=\"This post has two batch scripts: 1. Batch script to rename files with zero padded number series-prefix 2. Batch script to remove prefix of perticular length 1. Batch script to rename files with zero padded number series-prefix This script will accept file-type to be searched and lenght of zero-padded prefix to be attached. Usage: RenZeroPad.bat\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/kedar.nitty-witty.com\/blog\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2010-03-18T07:52:47+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2010-11-13T03:01:36+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"batch script to add remove prefix zero pad bulk file rename | Change Is Inevitable\" \/>\n\t\t<meta name=\"twitter:description\" content=\"This post has two batch scripts: 1. Batch script to rename files with zero padded number series-prefix 2. Batch script to remove prefix of perticular length 1. Batch script to rename files with zero padded number series-prefix This script will accept file-type to be searched and lenght of zero-padded prefix to be attached. Usage: RenZeroPad.bat\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#article\",\"name\":\"batch script to add remove prefix zero pad bulk file rename | Change Is Inevitable\",\"headline\":\"batch script to add remove prefix zero pad bulk file rename\",\"author\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kedar\"},\"datePublished\":\"2010-03-18T13:22:47+00:00\",\"dateModified\":\"2010-11-13T03:01:36+00:00\",\"inLanguage\":\"en-US\",\"commentCount\":4,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#webpage\"},\"articleSection\":\"Technical, batch, script, Technical, windows\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/technical#listItem\",\"name\":\"Technical\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/technical#listItem\",\"position\":2,\"name\":\"Technical\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/technical\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#listItem\",\"name\":\"batch script to add remove prefix zero pad bulk file rename\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#listItem\",\"position\":3,\"name\":\"batch script to add remove prefix zero pad bulk file rename\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/technical#listItem\",\"name\":\"Technical\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\",\"name\":\"Kedar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kedar\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin\",\"name\":\"Kedar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kedar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#webpage\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename\",\"name\":\"batch script to add remove prefix zero pad bulk file rename | Change Is Inevitable\",\"description\":\"This post has two batch scripts: 1. Batch script to rename files with zero padded number series-prefix 2. Batch script to remove prefix of perticular length 1. Batch script to rename files with zero padded number series-prefix This script will accept file-type to be searched and lenght of zero-padded prefix to be attached. Usage: RenZeroPad.bat\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"datePublished\":\"2010-03-18T13:22:47+00:00\",\"dateModified\":\"2010-11-13T03:01:36+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/\",\"name\":\"..::CHANGE is INEVITABLE::..\",\"description\":\"Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"batch script to add remove prefix zero pad bulk file rename | Change Is Inevitable","description":"This post has two batch scripts: 1. Batch script to rename files with zero padded number series-prefix 2. Batch script to remove prefix of perticular length 1. Batch script to rename files with zero padded number series-prefix This script will accept file-type to be searched and lenght of zero-padded prefix to be attached. Usage: RenZeroPad.bat","canonical_url":"https:\/\/kedar.nitty-witty.com\/blog\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename","robots":"max-image-preview:large","keywords":"batch,script,technical,windows","webmasterTools":{"google-site-verification":"_Bu1h5r0PxIC0D2jBVdmYN45RTeG9ogcX85XLkbG1qA","msvalidate.01":"116B62074CBCA1BA99B8CCE09CCF2FB8","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kedar.nitty-witty.com\/blog\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#article","name":"batch script to add remove prefix zero pad bulk file rename | Change Is Inevitable","headline":"batch script to add remove prefix zero pad bulk file rename","author":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"publisher":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/kedar.nitty-witty.com\/blog\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kedar"},"datePublished":"2010-03-18T13:22:47+00:00","dateModified":"2010-11-13T03:01:36+00:00","inLanguage":"en-US","commentCount":4,"mainEntityOfPage":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#webpage"},"isPartOf":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#webpage"},"articleSection":"Technical, batch, script, Technical, windows"},{"@type":"BreadcrumbList","@id":"https:\/\/kedar.nitty-witty.com\/blog\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/kedar.nitty-witty.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/technical#listItem","name":"Technical"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/technical#listItem","position":2,"name":"Technical","item":"https:\/\/kedar.nitty-witty.com\/blog\/category\/technical","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#listItem","name":"batch script to add remove prefix zero pad bulk file rename"},"previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#listItem","position":3,"name":"batch script to add remove prefix zero pad bulk file rename","previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/technical#listItem","name":"Technical"}}]},{"@type":"Person","@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person","name":"Kedar","image":{"@type":"ImageObject","@id":"https:\/\/kedar.nitty-witty.com\/blog\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kedar"}},{"@type":"Person","@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author","url":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin","name":"Kedar","image":{"@type":"ImageObject","@id":"https:\/\/kedar.nitty-witty.com\/blog\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kedar"}},{"@type":"WebPage","@id":"https:\/\/kedar.nitty-witty.com\/blog\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#webpage","url":"https:\/\/kedar.nitty-witty.com\/blog\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename","name":"batch script to add remove prefix zero pad bulk file rename | Change Is Inevitable","description":"This post has two batch scripts: 1. Batch script to rename files with zero padded number series-prefix 2. Batch script to remove prefix of perticular length 1. Batch script to rename files with zero padded number series-prefix This script will accept file-type to be searched and lenght of zero-padded prefix to be attached. Usage: RenZeroPad.bat","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename#breadcrumblist"},"author":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"creator":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"datePublished":"2010-03-18T13:22:47+00:00","dateModified":"2010-11-13T03:01:36+00:00"},{"@type":"WebSite","@id":"https:\/\/kedar.nitty-witty.com\/blog\/#website","url":"https:\/\/kedar.nitty-witty.com\/blog\/","name":"..::CHANGE is INEVITABLE::..","description":"Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects","inLanguage":"en-US","publisher":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"Change Is Inevitable | Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects","og:type":"article","og:title":"batch script to add remove prefix zero pad bulk file rename | Change Is Inevitable","og:description":"This post has two batch scripts: 1. Batch script to rename files with zero padded number series-prefix 2. Batch script to remove prefix of perticular length 1. Batch script to rename files with zero padded number series-prefix This script will accept file-type to be searched and lenght of zero-padded prefix to be attached. Usage: RenZeroPad.bat","og:url":"https:\/\/kedar.nitty-witty.com\/blog\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename","article:published_time":"2010-03-18T07:52:47+00:00","article:modified_time":"2010-11-13T03:01:36+00:00","twitter:card":"summary","twitter:title":"batch script to add remove prefix zero pad bulk file rename | Change Is Inevitable","twitter:description":"This post has two batch scripts: 1. Batch script to rename files with zero padded number series-prefix 2. Batch script to remove prefix of perticular length 1. Batch script to rename files with zero padded number series-prefix This script will accept file-type to be searched and lenght of zero-padded prefix to be attached. Usage: RenZeroPad.bat"},"aioseo_meta_data":{"post_id":"683","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-03-24 17:46:06","updated":"2025-08-16 19:06:59","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\/category\/technical\" title=\"Technical\">Technical<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tbatch script to add remove prefix zero pad bulk file rename\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/kedar.nitty-witty.com\/blog"},{"label":"Technical","link":"https:\/\/kedar.nitty-witty.com\/blog\/category\/technical"},{"label":"batch script to add remove prefix zero pad bulk file rename","link":"https:\/\/kedar.nitty-witty.com\/blog\/batch-script-to-add-remove-prefix-zero-pad-bulk-file-rename"}],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/683","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/comments?post=683"}],"version-history":[{"count":1,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/683\/revisions"}],"predecessor-version":[{"id":1345,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/683\/revisions\/1345"}],"wp:attachment":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/media?parent=683"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/categories?post=683"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/tags?post=683"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}