Page 1 of 1
How do delete a specific phrase across multiple file names?
Posted: 25 Oct 2014 22:55
by michaelbeijer
OK, this is probably a really stupid question, but how do I rename a bunch of files in a folder.
I have a bunch of files like this:
_CELEX_2013_en-nl_Science_education_culture.tmx
_CELEX_2013_en-nl_Social_policy.tmx
_CELEX_2013_en-nl_Taxation.tmx
_CELEX_2013_en-nl_Transport.tmx
etc.
I want to delete "_en-nl" from each file name.
Resulting in:
_CELEX_2013_Science_education_culture.tmx
_CELEX_2013_Social_policy.tmx
_CELEX_2013_Taxation.tmx
_CELEX_2013_Transport.tmx
Directory Opus has this great Rename dialogue:
https://dl.dropboxusercontent.com/u/680 ... y-Opus.png
Is there anything like that in XYplorer?
Re: How do delete a specific phrase across multiple file nam
Posted: 25 Oct 2014 23:50
by highend
Easiest way:
Right click on all selected files, Rename Special - Search And Replace...
Re: How do delete a specific phrase across multiple file nam
Posted: 26 Oct 2014 00:34
by michaelbeijer
Do you mean:
Right click on all selected files
Tools > List management > Rename special: Search and Replace…
Click New, type "_en-nl_/_" and then … click OK?
I just did that and nothing happened.
Re: How do delete a specific phrase across multiple file nam
Posted: 26 Oct 2014 00:40
by michaelbeijer
PS: I just installed ReNamer (
http://www.den4b.com/), which is great. Wish there was something like it built into XYplorer.
Re: How do delete a specific phrase across multiple file nam
Posted: 26 Oct 2014 02:31
by RalphM
michaelbeijer wrote:Do you mean:
Right click on all selected files
Tools > List management > Rename special: Search and Replace…
Click New, type "_en-nl_/_" and then … click OK?
I just did that and nothing happened.
No, it's either "File/Rename Special/Search and Replace" or Right Click and then "Rename Special/Search and Replace" then enter "_en-nl_/_" in the input field and to make sure everything will work out as you wish you can click "Preview" to get a list of your file names before and after.
Re: How do delete a specific phrase across multiple file nam
Posted: 26 Oct 2014 09:20
by highend
If you weren't able to see the context menu entry, open the config (F9), go to Menus, Mouse, Safety, click on File List..., make sure, [x] Rename Special is ticked.
Re: How do delete a specific phrase across multiple file nam
Posted: 26 Oct 2014 16:40
by michaelbeijer
Thanks guys, got it working now!
Re: How do delete a specific phrase across multiple file names?
Posted: 05 Aug 2017 06:47
by AugerJ
Hello. It's not working here (or, most likely, I'm doing it wrong).
I want to delete the exact phrase
from the names of a bunch of files.
And then replace double spaces with a single space.
Right click - Rename Special - Search and Replace... — and what should I type in (in each case)?
(XYplorer 14.80.0200)
Thanks.
Re: How do delete a specific phrase across multiple file names?
Posted: 05 Aug 2017 06:54
by highend
Remove the outer single quotes, they are only used to show where the patterns begin / end!
Re: How do delete a specific phrase across multiple file names?
Posted: 05 Aug 2017 07:08
by AugerJ
It worked.
Thank you.