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
3 answers

rename all files in folder through regular expression

I have a folder with lots of files which name has the following structure: 01.artist_name - song_name.mp3 I want to go through all of them and rename them using the regexp: /^d+\./ so i get only : artist_name - song_name.mp3 How can i do this…
André Alçada Padez
  • 10,987
  • 24
  • 67
  • 120
-1
votes
1 answer

Batch script command

I am a rookie at programming. I have created a batch script to move files from one location to other based on date. I want to move all files expect the files having modification date 3 days lesser than the current date.Also I want to log the files…
Alagu
  • 1
  • 2
-1
votes
3 answers

Batch renaming files to remove specific characters

How can I create a batch file that removes specific characters from the filenames only? Is it possible to do in a script? I'm looking to remove these symbols: ({[}])+-
-1
votes
3 answers

MS Batch, Rename files by pattern in Excel or CSV list

I have documents with names like: foo_baar_AB_01.ending fOo_BaAr_BC_05.ending FOo_baaR_BA_15.ending And a Excel or CSV List with a ruleset to Rename the Files: AB ; Data BC ; Stuff BA ; Other My Task is to rename the Files. The Result should look…
chris
  • 57
  • 1
  • 1
  • 9
-1
votes
1 answer

Batch Finding and displaying duplicate strings in file names

I have a question. Is it possibile in batch language to search in folder a part of name that is same like another file and display it.For example i got folder with files : ggggggsss.mp3 ddddddeee.mp3 ddddddff.mp3 ssssssddd.mp3…
szakalaka
  • 1
  • 3
-1
votes
2 answers

Windows bat file to rename multiple files with custom names

I have multiple folders with multiple files in each of them. The file names are as following: static-string-1.wav static-string-2.wav .... static-string-10.wav ... static-string-99.wav static-string-100.wav ... and so on. The static string remains…
-1
votes
1 answer

ios sdk rename file name extensions

Objective-C: I want to rename all files in the documents folder. For all files with extensions .xyz1, I want to change to .gif loop through and change: file1.xyz1, file44.xyz1, file789.xyz1 should all become file1.gif, file44.gif, file789.gif
-1
votes
1 answer

A two step file rename

I'd like to combine two parts of code into a script that can me used to batch rename files. So far, I got this far: file name before: 12345-[name]_ABC_12345.txt file name after: name for f in *.txt; do mv "$f" "${f//]*}"; done for f in *txt; …
user2904120
  • 416
  • 1
  • 4
  • 18
-1
votes
1 answer

How to write a batch with a common header in it

Im in need to exclude all the JavaScript files which has a header "XYZ" inside it. if the pattern "XYZ" is present inside the file, then the batch should rename the file as *.js.exclude. I have almost 189 JS files present inside the sources which…
Rahid
  • 39
  • 2
-1
votes
2 answers

Rename different files to one file name, one at a time

i have files named.. 82011.nsf 63113.nsf 55555.nsf i must rename each file to single.nsf (for example ren 82011.nsf to single.nsf) then use a program to act on that file (single.nsf) then rename the next file (63113.nsf to single.nsf) then use a…
curtb
  • 1
-1
votes
2 answers

Rename folders, subfolders, and files

I am new to coding / programming and trying to create a simple robocopy routine that automates the duplication of a template project folder from one location to the main project drive, then renames the "00-000" portion of the folder (which is always…
-1
votes
1 answer

Python batch-rename script sending files to root folder

Ok, this is weird and maybe awkward. I made a script so I could change the end of subtitles files to keep consistency. Basically it replaces A.X.str to A.Y.str. It worked flawlessly at a single folder. I decided then to make a recursive version of…
Jim-168
  • 9
  • 5
-1
votes
1 answer

Batch file to rename files by adding different suffix to each file

I want to create a batch file that will rename files from a folder my adding a different suffix to each file An example would be like this, file1.mp4 file2.mp4 file3.mkv file4.mkv to these file1 sandwich.mp4 file2 hot dog.mp4 file3…
-1
votes
1 answer

Renaming file incorporating extension

I read an answer on how to separate file name and extensions to rename them...a great answer from Niel, but I can't find the post from my mobile. I needed some clarification to take it one step further since all my attempts have failed. So here's…
KennyG503
  • 11
  • 1
-1
votes
1 answer

bulk rename using powershell to get rid of 9 characters that follow a "-"

I need to rename around 5000 files that have the following naming format: "322xxx-710yy.tiff" i need to remove -710yy from the name to get 322xxxx.tiff can anyone suggest a rename-item command for power-shell to do this? i tried: get-childitem…
KomeilR
  • 90
  • 4