Hi,
What is the code I need to rename these files:
Test 1 1920x1080
Test 2 3840x2160 (2)
Test 3 3840x2160
to
Test 1 [1920x1080]
Test 2 [3840x2160] (2)
Test 3 [3840x2160]
I think I found the right code In the search box with:
????x????
But I'm not able to find the right code in the replace box. Any help would be appreciated
Search and replace wildcard filter
Re: Search and replace wildcard filter
"yeah I got skills" on Reddit found a solution with powershell.
Code: Select all
Get-ChildItem -LiteralPath 'C:/Path/To/Files/' -File | Rename-Item -NewName { $_ -replace '\b(\d+x\d+)\b', '[$1]' }
Who is online
Users browsing this forum: No registered users and 52 guests