How to delete part of file name in many directories


KLund1

Member
Local time
2:55 PM
Posts
15
OS
Win 11
Hi All
I have a root directory with a few hundred sub-directories. Most about 3 or 4 deep, Some more, some less. There are about 40 file types.
About 30% of the file names have 2 phrases that need to be removed. The phrase appears randomly in the file names; beginning, middle, or end. I do not know how they got there, but I was tasked to get this fixed.
The phrases are:
(Back file)
Back File
These are not backup files, This drive is backed up nightly. They powers that be want me to find a way to get these phrases out of all the file names. They have been there for a couple years.
I am not a programmer, just an accountant that is good with Excel. That is why they think I can do this.
I have seem some Powershell scripts on Youtube videos that can do what I need but for only one directory. I have hundreds!
Could some of you people a lot smarter then me offer some solutions?
Thanks
 

My Computer

System One

  • OS
    Win 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home built
    CPU
    i7-7700K 4.7Ghz
    Motherboard
    ASUS Strix Z270F
    Memory
    DDR4 16GB
    Graphics Card(s)
    Nvindia 1060 GTX 3Gb
    Hard Drives
    RAID 0 2x Samsung 128GB M.2 2280 NGFF PCIe NVMe Gen3x4 MZVPW128HEGM-000H1
    PSU
    Corsair CX-850
    Case
    NZXT
    Cooling
    Corsair AIO
Hi, KLund1, welcome to the ElevenForums 🙏

Bulk Rename Utility is a pretty extensive software, if you tell it what to remove, select the topmost folder and mark the subfolders to be included, you should be good to go. I haven’t used it in a while but that’s the gist of it. It looks daunting until you take a logical look at it. This is my favourite.

Free for non commercial use.

Bulk Rename Utility (Free)


There are many others that are available.

Advanced File Renamer (Free)


File Renamer - Basic (Microsoft Store App Free)


Yoy could take a look at the following if the above don’t suit you:

 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.5472
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    1000/400Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
Also Rename Master (freeware) can do this
 

My Computers

System One System Two

  • OS
    Windows 11 2xH2 (latest update ... forever anal)
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Slim S01
    CPU
    Intel i5-12400
    Memory
    8GB
    Graphics Card(s)
    NVIDIA GeForce GT730
    Sound Card
    OOBE
    Monitor(s) Displays
    Acer 32"
    Screen Resolution
    1920x1080
    Hard Drives
    512GB KIOXIA NVMe
    1TB SATA SSD
    PSU
    OOBE
    Case
    OOBE
    Cooling
    OOBE
    Keyboard
    BT
    Mouse
    BT
    Browser
    Brave FFox Chrome Opera
    Antivirus
    KIS
  • Operating System
    Windows 11 Pro 2xH2 (latest update ... 4ever anal)
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavillion 15
    CPU
    i7-1165G7 @ 2.80GHz
    Graphics card(s)
    Intel Iris Xe Graphics
    Hard Drives
    Samsung NVMe 512GB
    + numerous/multiple SSD Type C USB enclosures
    Internet Speed
    NBN FTTN 50
    Browser
    Brave
    Antivirus
    KIS

antspants

DUDE !!!!
That program works GREAT !!!


All GOOD now !!!
 

My Computer

System One

  • OS
    Win 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home built
    CPU
    i7-7700K 4.7Ghz
    Motherboard
    ASUS Strix Z270F
    Memory
    DDR4 16GB
    Graphics Card(s)
    Nvindia 1060 GTX 3Gb
    Hard Drives
    RAID 0 2x Samsung 128GB M.2 2280 NGFF PCIe NVMe Gen3x4 MZVPW128HEGM-000H1
    PSU
    Corsair CX-850
    Case
    NZXT
    Cooling
    Corsair AIO

antspants

DUDE !!!!
That program works GREAT !!!


All GOOD now !!!

And it’s really extensive. I have used it for some pretty wild batch renaming. Glad you got it sorted 🙏
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.5472
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    1000/400Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.

Latest Support Threads

Back
Top Bottom