Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Community
Technology
Technology Q&A
Ubuntu Bulk File Renaming
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MayoMayn" data-source="post: 424512" data-attributes="member: 71840"><p>Sorry for the late reply.</p><p></p><p>But here is an example of a bunch of images that have a number x_ infront of the real image filename.</p><p>I'm using a SWF decompiler that somehow thinks it's a good idea to add the key of the image to the file.</p><p>So I want to bulk rename all of these, to remove the annoying characters infront of the filename.</p><p>E.g "10_hair_M_jimmy_h_std_hr_2476_0_0.png" should become "hair_M_jimmy_h_std_hr_2476_0_0.png"</p><p><img src="https://i.imgur.com/vplDwGp.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>And when I try to run <strong>rename '/^[0-9\_]+/' *</strong> in the folder nothing happens.</p><p>But if you take a look at the image below the regex is correct.</p><p></p><p><img src="https://i.imgur.com/0BEtheh.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p></blockquote><p></p>
[QUOTE="MayoMayn, post: 424512, member: 71840"] Sorry for the late reply. But here is an example of a bunch of images that have a number x_ infront of the real image filename. I'm using a SWF decompiler that somehow thinks it's a good idea to add the key of the image to the file. So I want to bulk rename all of these, to remove the annoying characters infront of the filename. E.g "10_hair_M_jimmy_h_std_hr_2476_0_0.png" should become "hair_M_jimmy_h_std_hr_2476_0_0.png" [IMG]https://i.imgur.com/vplDwGp.png[/IMG] And when I try to run [B]rename '/^[0-9\_]+/' *[/B] in the folder nothing happens. But if you take a look at the image below the regex is correct. [IMG]https://i.imgur.com/0BEtheh.png[/IMG] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Community
Technology
Technology Q&A
Ubuntu Bulk File Renaming
Top