# dugas on Stack Overflow - How can I bulk rename files in PowerShell (Highlights) ![rw-book-cover|256](https://readwise-assets.s3.amazonaws.com/media/uploaded_book_covers/profile_155788/apple-touch-icon2_j7Ha2ge.png) ## Metadata **Review**:: [readwise.io](https://readwise.io/bookreview/44689416) **Source**:: #from/readwise #from/reader **Zettel**:: #zettel/fleeting **Status**:: #x **Authors**:: [[dugas on Stack Overflow]] **Full Title**:: How can I bulk rename files in PowerShell **Category**:: #articles #readwise/articles **Category Icon**:: 📰 **URL**:: [stackoverflow.com](https://stackoverflow.com/questions/13382638/how-can-i-bulk-rename-files-in-powershell#13382966) **Host**:: [[stackoverflow.com]] **Highlighted**:: [[2024-10-05]] **Created**:: [[2024-10-05]] ## Highlights - ↩︎ ([View Highlight](https://read.readwise.io/read/01j9d8ve387tyqa7hhna5fy00h)) ^794764690 ``` Get-ChildItem *.txt | Rename-Item -NewName { $_.Name -replace '\.txt,'.log' } ```