How to remove first characters of folder names

Bulk Rename Utility How-To's

How to remove first characters of folder names

Postby alex20850 » Wed Jan 01, 2025 11:31 pm

How do I choose all the folder names with - in the second position and then remove the first two characters.
O-TrustedFolder-PDFs
O-XLStart
1-COMPDOCS
1-Data
1-DOS
1-DOS-00
1-GSA
1-Manuals
1-PDFs
1-RR
1-RR6
1-RR6-PDFS
1-RR-Docs
1-RR-DOCS-AII
1-Wallpapers
1-xlscnv817
2-Counties
2-Data
2-DOS
2-Downloads
2-HOA
2-Unzipped
2-Zips
3-Wallpapers
alex20850
 
Posts: 3
Joined: Wed Jan 01, 2025 11:18 pm

Re: How to remove first characters of folder names

Postby Admin » Thu Jan 02, 2025 4:33 am

Hi,

1) Navigate to the parent of all these folders in BRU.
2) In Filters (12): tick "folders" / untick "files" / tick "subfolders" (This will show all sub-folders recursively, without showing files).
3) In Filters (12): Tick RegEx (this enables RegEx syntax for the mask).
4) In Filters (12): Set Mask to \d- (this will show only subfolders starting with a single digits and followed by a - using RegEx syntax).
5) Select all subfolders (ctrl +a) and use Remove (5) to remove first 2 characters.
6) Preview and Rename.
Admin
Site Admin
 
Posts: 2883
Joined: Tue Mar 08, 2005 8:39 pm


Return to How-To