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
-1
votes
0 answers

Batch add a "#" symbol before filename for a batch of files named "1.json", "2.json', "3.json" and so on

I have a lot of files named "1.json", "2.json', "3.json" and so on I need a script to add "#" symbol before each filename I'm very new to batch scripts, I only just find someone's scripts and try them without understanding how it really works I…
Pavel
  • 1
-1
votes
0 answers

Power Rename for Plex Library

I am attempting to rename a group of files so that they match the format 'Season 00 - Poster' from their original filenames. I have gotten as far as 'Season 00OrignailFile' I am trying to use Regex to Exclude 'Season \d\d' and select everything…
-1
votes
1 answer

Batch rename in Terminal by appending prefix from .csv file

Edit (to improve question): In the image above you can see the naming of a series of files. Each file has a filename of: 01-NameOfProject_Data Set X-01.png where X is sequential from 1 to 24 (please note! NOT 01, 02, ..., 24) I have created two…
-1
votes
1 answer

Add numbering to multiple folders

So I have a lot of folders(1000+) and I want to add an incrementing number at the start of each one of them. The folder names contain spaces. I am on windows 10. Example of folder names: Folder number-one Folder number-two Folder number-three Output…
-1
votes
2 answers

Partially rename multiple files in a directory without losing order

I was converting a video to frames and storing those frames in a directory with format "Anime Season 1 episode 1 - Frame 1 of 89000" and so on. But i found out that I put the total number of frames wrong. So i just want to change the 89000 to 90000…
Qasim
  • 11
  • 4
-1
votes
2 answers

How to rename image files in sub folders by referring the names given in a CSV file

Currently I have a CSV file with 100 lines. In each line there are 10 image names following folder name in the first…
Hunter313
  • 29
  • 6
-1
votes
2 answers

How to rename files named MMDDYYtime into 20YYMMDD_time so they'll sort in date order?

I have 4500 pictures and somehow messed up the file property "Created" so they all show created on the same date. Pictures were taken with an android phone but are now on a flash drive on a Windows 10 computer. A typical filename is "1209181442"…
Mark L
  • 1
-1
votes
1 answer

Copy file to another folder, rename in destination and overwrite existing file

I have a batch script to copy a file to another destination. I am trying to copy file while keeping its name and extension, then change it all in the destination folder. However, destination folder will always have the same file name with different…
Murray
  • 57
  • 7
-1
votes
1 answer

Rename massive files in multiple directories

I come to you guys because I do not know the way cuz I'm a nob, but I will investigate how to do what you answer me to make it. I understand I need to create a Script, well, can you help me telling me how it has to be? And I will investigate the…
mDev
  • 1
  • 2
-1
votes
1 answer

batch script to rename the most recent file in all subfolders?

@echo off for /f %%i in ('dir /b /a-d /od /t:c "*.pdf"') do ( set LastFileCreated=%%i ) echo The Last File Created is %LastFileCreated% pause :: ren %LastFileCreated% "decs365.pdf" pause all I have is this script, but unfortunately it needs to…
-1
votes
1 answer

Rename a file by replacing few characters using Batch script

I'm new to batch scripting and need help here. My file name along with path is C:\test\My_Test_File_20201006.txt and I want to rename it as C:\test\My_File_20201006.txt using batch script only. I cannot use PowerShell here. @echo off set…
R.K
  • 1,721
  • 17
  • 22
-1
votes
2 answers

Rename multiple files in a directory by looping through a list of names in a .txt / .csv file for a partial match

I'm trying to automate renaming of many multiple files in a Windows 7 directory. I need to search a source index file (.txt or .csv which is a list of extended file names) and, where there is a partial match to the original file name, copy the first…
JoeJoe99
  • 5
  • 2
-1
votes
1 answer

How to rename a few thousand files by removing everything including and after the last occurance of "by" in the filename

I have a few thousand files where the author name is contained in the filename of the file. The main problem this creates is that the filename becomes too long as all authors are mentioned and moving them to different folders becomes impossible to…
gyuunyuu
  • 526
  • 5
  • 17
-1
votes
1 answer

Change multiple folder name from %-% to % (delete everything after the hyphen)

I have a folder containing multiple sub folders named like : 12345 - textfoldername I want to rename all these sub folders by keeping just the first number (12345) and delete all the rest ( - textfoldername). How can I build the windows script for…
Souhail Ouabi
  • 105
  • 3
  • 15
-1
votes
2 answers

Rename '.tbl' files in directory using string from the first line of file python

I have a directory filled with '.tbl' files. The file set up is as follows: \STAR_ID = "HD 74156" \DATA_CATEGORY = "Planet Radial Velocity Curve" \NUMBER_OF_POINTS =…