{"id":19,"date":"2014-04-01T02:07:00","date_gmt":"2014-04-01T00:07:00","guid":{"rendered":"http:\/\/celilsemi.erkiner.com\/blog\/?p=19"},"modified":"2020-05-22T08:10:50","modified_gmt":"2020-05-22T06:10:50","slug":"bulk-rename-with-windows-powershell","status":"publish","type":"post","link":"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/","title":{"rendered":"Bulk Rename with Windows Powershell"},"content":{"rendered":"<p><span style=\"line-height: 1.5em;\">I also know that there is third party applications which are really good at this job but if you wanna feel a little bit geeky like me, try this!!<\/span><\/p>\n<p>First let us assume that we have&nbsp;bunch of files together in a folder. &nbsp;Their name are pretty confusing and random because let&#8217;s say that we have downloaded them all. For our super important project we need their names to become meaningful and useful.<\/p>\n<figure style=\"width: 507px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/celilsemi.erkiner.com\/blog\/wp-content\/uploads\/2014\/04\/bulkrename.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"Bulk Rename\" src=\"http:\/\/celilsemi.erkiner.com\/blog\/wp-content\/uploads\/2014\/04\/bulkrename.png\" width=\"507\" height=\"252\"><\/a><figcaption class=\"wp-caption-text\">Before &#8211; After Rename<\/figcaption><\/figure>\n<p>1. Open Start menu (or start page) and type &#8220;powershell&#8221; to find Windows PowerShell and open it.<\/p>\n<p><em>You can also try to look for it in your start menu or&nbsp;C:\\WINDOWS\\system32\\WindowsPowerShell directory.&nbsp;<\/em><\/p>\n<p>2. Set working directory&nbsp;to the directory&nbsp;with your random files.<\/p>\n<p><em>You can use &#8220;cd [directory name]&#8221; for walking into the directory &#8220;cd ..&#8221; for going to outer directory.<\/em><\/p>\n<p>3. Decide what you want to create algorithm. In this post I will arrange the names &#8220;[random].html&#8221; as &#8220;page[number].php&#8221;<\/p>\n<pre>Dir *.html | ForEach-Object -begin { $count=1 } -process { rename-item $_ -NewName \"page$count.php\"; $count++ }<\/pre>\n<figure style=\"width: 593px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/celilsemi.erkiner.com\/blog\/wp-content\/uploads\/2014\/04\/powershellrename.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"Windows PowerShell Rename\" src=\"http:\/\/celilsemi.erkiner.com\/blog\/wp-content\/uploads\/2014\/04\/powershellrename.png\" width=\"593\" height=\"184\"><\/a><figcaption class=\"wp-caption-text\">Windows PowerShell Rename<\/figcaption><\/figure>\n<p><code>Dir *.html |<\/code> part is to get all the html files in that dir and create something sort of an array before processing.<\/p>\n<p><code>ForEach-Object<\/code> is to the process file by file.<\/p>\n<p><code>-begin { $count=1 }<\/code> mean we start counting from 1.<\/p>\n<p><code>-process { rename-item $_ -NewName \"page$count.php\";<\/code> part does the trick.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I also know that there is third party applications which are really good at this job but if you wanna feel a little bit geeky like me, try this!! First let us assume that we have&nbsp;bunch of files together in a folder. &nbsp;Their name are pretty confusing and random because let&#8217;s say that we have [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[6],"tags":[12,11],"class_list":["post-19","post","type-post","status-publish","format-standard","hentry","category-software","tag-shell","tag-windows"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"I also know that there is third party applications which are really good at this job but if you wanna feel a little bit geeky like me, try this!! First let us assume that we have bunch of files together in a folder. Their name are pretty confusing and random because let&#039;s say that we have\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Celilsemi Sam Erkiner\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Celilsemi Sam Erkiner - Blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Bulk Rename with Windows Powershell\" \/>\n\t\t<meta property=\"og:description\" content=\"I also know that there is third party applications which are really good at this job but if you wanna feel a little bit geeky like me, try this!! First let us assume that we have bunch of files together in a folder. Their name are pretty confusing and random because let&#039;s say that we have\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/celilsemi.erkiner.com\/blog\/wp-content\/uploads\/2014\/04\/powershellrename.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/celilsemi.erkiner.com\/blog\/wp-content\/uploads\/2014\/04\/powershellrename.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"988\" \/>\n\t\t<meta property=\"og:image:height\" content=\"307\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2014-04-01T00:07:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-05-22T06:10:50+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Bulk Rename with Windows Powershell\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I also know that there is third party applications which are really good at this job but if you wanna feel a little bit geeky like me, try this!! First let us assume that we have bunch of files together in a folder. Their name are pretty confusing and random because let&#039;s say that we have\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/celilsemi.erkiner.com\/blog\/wp-content\/uploads\/2014\/04\/bulkrename.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/bulk-rename-with-windows-powershell\\\/#blogposting\",\"name\":\"Bulk Rename with Windows Powershell\",\"headline\":\"Bulk Rename with Windows Powershell\",\"author\":{\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/author\\\/cerkiner\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/04\\\/bulkrename.png\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/bulk-rename-with-windows-powershell\\\/#articleImage\",\"width\":507,\"height\":252,\"caption\":\"Bulk Rename\"},\"datePublished\":\"2014-04-01T02:07:00+02:00\",\"dateModified\":\"2020-05-22T08:10:50+02:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/bulk-rename-with-windows-powershell\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/bulk-rename-with-windows-powershell\\\/#webpage\"},\"articleSection\":\"Software Engineering, shell, windows\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/bulk-rename-with-windows-powershell\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/category\\\/engineering\\\/#listItem\",\"name\":\"Engineering\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/category\\\/engineering\\\/#listItem\",\"position\":2,\"name\":\"Engineering\",\"item\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/category\\\/engineering\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/category\\\/engineering\\\/software\\\/#listItem\",\"name\":\"Software Engineering\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/category\\\/engineering\\\/software\\\/#listItem\",\"position\":3,\"name\":\"Software Engineering\",\"item\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/category\\\/engineering\\\/software\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/bulk-rename-with-windows-powershell\\\/#listItem\",\"name\":\"Bulk Rename with Windows Powershell\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/category\\\/engineering\\\/#listItem\",\"name\":\"Engineering\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/bulk-rename-with-windows-powershell\\\/#listItem\",\"position\":4,\"name\":\"Bulk Rename with Windows Powershell\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/category\\\/engineering\\\/software\\\/#listItem\",\"name\":\"Software Engineering\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/#organization\",\"name\":\"Celilsemi Sam Erkiner\",\"description\":\"Blog\",\"url\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/appicon.png\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/bulk-rename-with-windows-powershell\\\/#organizationLogo\",\"width\":1024,\"height\":1024,\"caption\":\"Icon of Celilsemi Sam Erkiner\"},\"image\":{\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/bulk-rename-with-windows-powershell\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/author\\\/cerkiner\\\/#author\",\"url\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/author\\\/cerkiner\\\/\",\"name\":\"Celilsemi Sam Erkiner\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/bulk-rename-with-windows-powershell\\\/#authorImage\",\"url\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/0c0a56fe50d80138ca959da76bd58688.jpg?ver=1793310866\",\"width\":96,\"height\":96,\"caption\":\"Celilsemi Sam Erkiner\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/bulk-rename-with-windows-powershell\\\/#webpage\",\"url\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/bulk-rename-with-windows-powershell\\\/\",\"name\":\"Bulk Rename with Windows Powershell\",\"description\":\"I also know that there is third party applications which are really good at this job but if you wanna feel a little bit geeky like me, try this!! First let us assume that we have bunch of files together in a folder. Their name are pretty confusing and random because let's say that we have\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/bulk-rename-with-windows-powershell\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/author\\\/cerkiner\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/author\\\/cerkiner\\\/#author\"},\"datePublished\":\"2014-04-01T02:07:00+02:00\",\"dateModified\":\"2020-05-22T08:10:50+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/\",\"name\":\"Celilsemi Sam Erkiner\",\"description\":\"Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/celilsemi.erkiner.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Bulk Rename with Windows Powershell","description":"I also know that there is third party applications which are really good at this job but if you wanna feel a little bit geeky like me, try this!! First let us assume that we have bunch of files together in a folder. Their name are pretty confusing and random because let's say that we have","canonical_url":"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/#blogposting","name":"Bulk Rename with Windows Powershell","headline":"Bulk Rename with Windows Powershell","author":{"@id":"https:\/\/celilsemi.erkiner.com\/blog\/author\/cerkiner\/#author"},"publisher":{"@id":"https:\/\/celilsemi.erkiner.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/celilsemi.erkiner.com\/blog\/wp-content\/uploads\/2014\/04\/bulkrename.png","@id":"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/#articleImage","width":507,"height":252,"caption":"Bulk Rename"},"datePublished":"2014-04-01T02:07:00+02:00","dateModified":"2020-05-22T08:10:50+02:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/#webpage"},"isPartOf":{"@id":"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/#webpage"},"articleSection":"Software Engineering, shell, windows"},{"@type":"BreadcrumbList","@id":"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/celilsemi.erkiner.com\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/celilsemi.erkiner.com\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/celilsemi.erkiner.com\/blog\/category\/engineering\/#listItem","name":"Engineering"}},{"@type":"ListItem","@id":"https:\/\/celilsemi.erkiner.com\/blog\/category\/engineering\/#listItem","position":2,"name":"Engineering","item":"https:\/\/celilsemi.erkiner.com\/blog\/category\/engineering\/","nextItem":{"@type":"ListItem","@id":"https:\/\/celilsemi.erkiner.com\/blog\/category\/engineering\/software\/#listItem","name":"Software Engineering"},"previousItem":{"@type":"ListItem","@id":"https:\/\/celilsemi.erkiner.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/celilsemi.erkiner.com\/blog\/category\/engineering\/software\/#listItem","position":3,"name":"Software Engineering","item":"https:\/\/celilsemi.erkiner.com\/blog\/category\/engineering\/software\/","nextItem":{"@type":"ListItem","@id":"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/#listItem","name":"Bulk Rename with Windows Powershell"},"previousItem":{"@type":"ListItem","@id":"https:\/\/celilsemi.erkiner.com\/blog\/category\/engineering\/#listItem","name":"Engineering"}},{"@type":"ListItem","@id":"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/#listItem","position":4,"name":"Bulk Rename with Windows Powershell","previousItem":{"@type":"ListItem","@id":"https:\/\/celilsemi.erkiner.com\/blog\/category\/engineering\/software\/#listItem","name":"Software Engineering"}}]},{"@type":"Organization","@id":"https:\/\/celilsemi.erkiner.com\/blog\/#organization","name":"Celilsemi Sam Erkiner","description":"Blog","url":"https:\/\/celilsemi.erkiner.com\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/celilsemi.erkiner.com\/blog\/wp-content\/uploads\/2020\/05\/appicon.png","@id":"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/#organizationLogo","width":1024,"height":1024,"caption":"Icon of Celilsemi Sam Erkiner"},"image":{"@id":"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/celilsemi.erkiner.com\/blog\/author\/cerkiner\/#author","url":"https:\/\/celilsemi.erkiner.com\/blog\/author\/cerkiner\/","name":"Celilsemi Sam Erkiner","image":{"@type":"ImageObject","@id":"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/#authorImage","url":"https:\/\/celilsemi.erkiner.com\/blog\/wp-content\/litespeed\/avatar\/0c0a56fe50d80138ca959da76bd58688.jpg?ver=1793310866","width":96,"height":96,"caption":"Celilsemi Sam Erkiner"}},{"@type":"WebPage","@id":"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/#webpage","url":"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/","name":"Bulk Rename with Windows Powershell","description":"I also know that there is third party applications which are really good at this job but if you wanna feel a little bit geeky like me, try this!! First let us assume that we have bunch of files together in a folder. Their name are pretty confusing and random because let's say that we have","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/celilsemi.erkiner.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/#breadcrumblist"},"author":{"@id":"https:\/\/celilsemi.erkiner.com\/blog\/author\/cerkiner\/#author"},"creator":{"@id":"https:\/\/celilsemi.erkiner.com\/blog\/author\/cerkiner\/#author"},"datePublished":"2014-04-01T02:07:00+02:00","dateModified":"2020-05-22T08:10:50+02:00"},{"@type":"WebSite","@id":"https:\/\/celilsemi.erkiner.com\/blog\/#website","url":"https:\/\/celilsemi.erkiner.com\/blog\/","name":"Celilsemi Sam Erkiner","description":"Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/celilsemi.erkiner.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Celilsemi Sam Erkiner - Blog","og:type":"article","og:title":"Bulk Rename with Windows Powershell","og:description":"I also know that there is third party applications which are really good at this job but if you wanna feel a little bit geeky like me, try this!! First let us assume that we have bunch of files together in a folder. Their name are pretty confusing and random because let's say that we have","og:url":"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/","og:image":"https:\/\/celilsemi.erkiner.com\/blog\/wp-content\/uploads\/2014\/04\/powershellrename.png","og:image:secure_url":"https:\/\/celilsemi.erkiner.com\/blog\/wp-content\/uploads\/2014\/04\/powershellrename.png","og:image:width":988,"og:image:height":307,"article:published_time":"2014-04-01T00:07:00+00:00","article:modified_time":"2020-05-22T06:10:50+00:00","twitter:card":"summary_large_image","twitter:title":"Bulk Rename with Windows Powershell","twitter:description":"I also know that there is third party applications which are really good at this job but if you wanna feel a little bit geeky like me, try this!! First let us assume that we have bunch of files together in a folder. Their name are pretty confusing and random because let's say that we have","twitter:image":"https:\/\/celilsemi.erkiner.com\/blog\/wp-content\/uploads\/2014\/04\/bulkrename.png"},"aioseo_meta_data":{"post_id":"19","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":"","isEnabled":true},"graphs":[]},"schema_type":"default","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,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-11-14 19:44:07","updated":"2025-07-29 05:37:36","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/celilsemi.erkiner.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:\/\/celilsemi.erkiner.com\/blog\/category\/engineering\/\" title=\"Engineering\">Engineering<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/celilsemi.erkiner.com\/blog\/category\/engineering\/software\/\" title=\"Software Engineering\">Software Engineering<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tBulk Rename with Windows Powershell\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/celilsemi.erkiner.com\/blog\/"},{"label":"Engineering","link":"https:\/\/celilsemi.erkiner.com\/blog\/category\/engineering\/"},{"label":"Software Engineering","link":"https:\/\/celilsemi.erkiner.com\/blog\/category\/engineering\/software\/"},{"label":"Bulk Rename with Windows Powershell","link":"https:\/\/celilsemi.erkiner.com\/blog\/bulk-rename-with-windows-powershell\/"}],"_links":{"self":[{"href":"https:\/\/celilsemi.erkiner.com\/blog\/wp-json\/wp\/v2\/posts\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/celilsemi.erkiner.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/celilsemi.erkiner.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/celilsemi.erkiner.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/celilsemi.erkiner.com\/blog\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":2,"href":"https:\/\/celilsemi.erkiner.com\/blog\/wp-json\/wp\/v2\/posts\/19\/revisions"}],"predecessor-version":[{"id":142,"href":"https:\/\/celilsemi.erkiner.com\/blog\/wp-json\/wp\/v2\/posts\/19\/revisions\/142"}],"wp:attachment":[{"href":"https:\/\/celilsemi.erkiner.com\/blog\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/celilsemi.erkiner.com\/blog\/wp-json\/wp\/v2\/categories?post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/celilsemi.erkiner.com\/blog\/wp-json\/wp\/v2\/tags?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}