corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Renaming files, take word out?


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Renaming files, take word out?
Whittie
Member

Registered: 11th Aug 06
Location: North Wales Drives: BMW, Corsa & Fiat
User status: Offline
27th Mar 13 at 14:55   View User's Profile U2U Member Reply With Quote

350 images have the word copy on them, need to take it off.... is there a quicker way than renaming and deleting copy?

Ta
Cavey
Member

Registered: 11th Nov 02
Location: Derby
User status: Offline
27th Mar 13 at 15:20   View User's Profile U2U Member Reply With Quote

Search for batch or bulk rename or something like that should find something useful
Balling
Premium Member

Avatar

Registered: 7th Apr 04
Location: Denmark
User status: Offline
27th Mar 13 at 15:25   View Garage View User's Profile U2U Member Reply With Quote

Doesn't Windows have an equivalent of Automator on Mac's?
I know you can do batch file renames with that.


Whittie
Member

Registered: 11th Aug 06
Location: North Wales Drives: BMW, Corsa & Fiat
User status: Offline
27th Mar 13 at 15:28   View User's Profile U2U Member Reply With Quote

All the file names are different, just have copy on the end of them...
Balling
Premium Member

Avatar

Registered: 7th Apr 04
Location: Denmark
User status: Offline
27th Mar 13 at 15:30   View Garage View User's Profile U2U Member Reply With Quote

Ah, so you can't rename them "Filename001" etc?


Dom
Member

Registered: 13th Sep 03
User status: Offline
27th Mar 13 at 15:58   View User's Profile U2U Member Reply With Quote

Powershell, below should work -
code:
dir *.jpeg | mi -dest {($_.Basename -replace 'copy','').Trim() + $_.Extension}


Otherwise, http://www.bulkrenameutility.co.uk

[Edited on 27-03-2013 by Dom]
Whittie
Member

Registered: 11th Aug 06
Location: North Wales Drives: BMW, Corsa & Fiat
User status: Offline
27th Mar 13 at 16:07   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Balling
Ah, so you can't rename them "Filename001" etc?


No, they've got to relate to a URL on a website, they're product codes, so need them named properly, unfortunately.

quote:
Originally posted by Dom
Powershell, below should work -
code:
dir *.jpeg | mi -dest {($_.Basename -replace 'copy','').Trim() + $_.Extension}


Otherwise, http://www.bulkrenameutility.co.uk

[Edited on 27-03-2013 by Dom]


Awesome mate, will give it a go, thanks.

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
p.c help (i know im fick) Kerry Geek Day 14 1231
10th Jul 03 at 18:02
by Skinz
 
Help with files kerzo Geek Day 4 1109
10th Nov 03 at 12:10
by Stuckey
 
Help on renaming .rar files pls. . sdlcrosby General Chat 6 210
7th Dec 03 at 16:12
by Icy
 
OpenOffice Bart Geek Day 8 892
26th Nov 05 at 21:03
by John
 
GT5 Prologue AK Geek Day 24 621
12th Oct 08 at 14:35
by Matt H
 

Corsa Sport » Message Board » Off Day » Geek Day » Renaming files, take word out? 29 database queries in 0.0104420 seconds