Questions tagged [batch-rename]

Batch renaming is a form of batch processing used to rename multiple computer files and folders.

Batch renaming is a form of batch processing used to rename multiple computer files and folders in an automated fashion, in order to save time and reduce the amount of work involved. Some sort of software is required to do this. Such software can be more or less advanced, but most have the same basic functions. Batch renaming software exists for most operating systems.

Reference: Wikipedia

924 questions
-2
votes
2 answers

Recursively replacing non-standard charecters from folders and files on win10

I have many folders with sub-folders of files I get from colleagues with special and even hidden characters like these: Non standard chars: {µ, 市, ', &, 「 , invisible char, Ü, é, ... } I am looking for a script or a windows tool that would rename…
A.T.
  • 127
  • 9
-2
votes
2 answers

Rename file in batch with index retain in Windows

I have a batch of file with the following format YYYYYYYYYY(X).txt YYYYYYYYYY(XX).txt YYYYYYYYYY(XXX).txt YYYYYYYYYY(XXXX).txt Y are simplified Chinese character/punctuation with no fixed length, i.e. the no. of Y ranged from a few to more than…
-2
votes
1 answer

os.rename does not succeed in renaming in subdirectories, throws FileNotFoundError despite using glob.glob with recursive=True

The following code is meant to rename files named "notes" to "notes.html.pmd" in the cwd and in sub-directories. Those still on Python3.7 and earlier versions need to get rid off the walrus operator and substitute fileListOld = glob.glob(f"{(cwd :=…
John Smith
  • 835
  • 1
  • 7
  • 19
-2
votes
1 answer

rename text file to the content text (batch) (powershell)

Ok as the title says, i need a way to rename a text document, to the text there are in the text document, so if the document have this text (cake) then it need to rename the file name to cake.
Biast12
  • 1
  • 5
-2
votes
1 answer

Batch Rename Files - Append Lines 1 & 3

I'm using Windows 7. I have a bunch of text files, each containing one email message. Each starts this way: FROM: Person TO: Another Person DATE: 01-Jan-11 at 18:12:00 SUBJECT: Whatever I want to rename these files so that their names look…
Ray Woodcock
  • 209
  • 3
  • 13
-2
votes
1 answer

Using a batch file, how can I rename this file?

I'm having issues renaming the following file using a batch (.bat) file. I'm using Windows 7. Here's my syntax: SET MY_PATH=%~dp0 ren %MY_PATH%\MY_RECAP* DBS.txt I'm attempting to rename a file that has a changing file name due to the current date…
Dan
  • 67
  • 2
  • 8
-2
votes
1 answer

Changing filename date format

I have some files that are not recognised by filebot because they have the following naming scheme. SOAP 3rd Oct 2018 part 1 1080p (USER) [GROUP].mp4 (Name changed) Filebot does however recognize this naming scheme and needs SOAP 2018 10 01 Part 1…
-2
votes
1 answer

Windows batch scramble/unscramble filenames

I'm looking for a way to scramble/unscramble (encrypt/decrypt) the filenames of every file in a directory via batch script. One .bat file would encrypt the filenames in the current directory, and another would decrypt them. I have an idea as to how…
-2
votes
1 answer

Rename Multiple Files in a folder using batch script

I have a folder called TEST. Inside there are 30 files. Example: DIM1_UPI_20170102.TXT DIM2_UPI_20170908.TXT DIM3_UPI_20180101.TXT ... I have to rename them by removing the date tag Exapmple: DIM1_UPI.TXT DIM2_UPI.TXT DIM3_UPI.TXT Can you please…
Jocky
  • 25
  • 4
-2
votes
4 answers

Shell Script for Bulk renaming of files

I want to recursively rename all files in directory path by changing their prefix. For…
Vikash
  • 213
  • 5
  • 15
-2
votes
1 answer

Renaming files with python to 1.jpg, 2.jpg, etc

First I would like to say I want to do this in python 2.7! Hi, I have a folder full of images named 1.jpg, 2.jpg, 3.jpg, etc. All the way up to 600.jpg. I would like to rename them 600 higher, so 601.jpg, 602.jpg, 603.jpg, etc. All the way up to…
Binary111
  • 149
  • 4
  • 15
-2
votes
1 answer

Batch renaming files before certain character

I have a bunch of Pdf files with names like so: Malcolm Gaskill - History.pdf Manfred B. Steger - Globalization; A Very Short Introduction.pdf I want to rename them to get rid of everything before the first hyphen so they end up…
-2
votes
3 answers

Rename first part of filename using batch

I have some problem writing a code for a batchfile that will replace the first part of a file name. let say we have the files: abcd123.txt abcd345.txt the numeric part(and the extensions) is the part I want to keep and change it to…
MSm
  • 125
  • 4
-2
votes
1 answer

Batch script using file names from an XML file to organize sound files

I have sound files named by ID. The only way to find the sounds is by rummaging through the reference bank which has each of the file names. What I want to achieve is a script that finds the ID, and the 'Path' to rename the file and organize said…
Frautcres
  • 23
  • 2
-2
votes
2 answers

rename all the files in a folder

i have been trying to rename all the files (images) in a folder on my website but it does not work. the files are not renamed. i have an input field for 'name' i want to use that name, add a uniqid and rename all the files. here's the code that i am…
azula
  • 56
  • 12