This tag is about the renaming of large batches of files.

learn more… | top users | synonyms

0
votes
0answers
31 views

Looking to rename large amount of files using bat script

I'm still pretty new to the use of powershell, scripts, and the like, so I'm sorry that I don't have some form of script to start with. All I have is the specifics on my problem. I have a large ...
0
votes
3answers
508 views

How to rename file using CMD “Track ?.mp3” to “T00?.mp3”

I have multiple mp3 file like this: Track [number of track].mp3 eg. Track 1.mp3 - Track 11.mp3 I want to rename them to: T00[number of track] eg. T001.mp3 - T011.mp3 I have tried to rename 1-9 ...
0
votes
1answer
31 views

Match duplicate images by content and rename them (to the name of the duplicate)

I have 2 folders with over 5.000 photos each: Folder 1: the original files in good quality but with human readable names (e.g. saigon_motorcycle_traffic.jpg) Folder 2: the same files in really bad ...
0
votes
2answers
3k views

Cut a part from a filename (windows batch)

I got files named like this: cam1(word1 word2 wordN) (24-04-2012 00-11-13).mpg cam2(word1 word2 wordN) (24-04-2012 00-11-13).mpg cam3(word1 word2 wordN) (24-04-2012 00-11-13).mpg Need to cut (word1 ...
36
votes
11answers
70k views

Is there a way to batch rename files to lowercase?

I need a way to rename all files in folders and subfolders to lowercase. I'd like to know if there is a way to do that using only windows (XP or 7)
1
vote
4answers
40 views

Batch Renaming on a file share

We currently have a CIFS share hosted from a SAN device and are planning to move toward a case management system. The issue I'm having is a lot of the various files in our file share end with a ...
1
vote
0answers
44 views

Renaming a pdf file (scanned document) using OCR. It should read 3 zones and rename accordingly. e.g. Streetname_LastName_Date.pdf [closed]

I am running into trouble with tons of paperwork. I want to have it digitalized in order to simplify search and therefore cut down a huge amount of time spent on looking though the paperwork. It is ...
3
votes
2answers
487 views

Increment file number using zmv

I have a set of files that are named in the vein of "some_file-nameN", where N is a number starting at 1, incrementing, and ending somewhere between 10 and 30. I now need to insert a file at the ...
0
votes
1answer
16 views

Cygwin unix-utils version of rename not functioning as it should

I'm trying to use the rename function, supplied as part of cygwin, unix-utils ( Mar22 2015), and it does not function as advertised. All the examples I've seen indicate this to be the syntax: rename ...
0
votes
1answer
28 views

Rename folder on remote server

I am calling a .bat file which contains the following command net use \\128.545.k.k\E_Drive /user:Username psw to connect to a remote server. I would like to rename a folder on the remote server i ...
1
vote
1answer
57 views

Remove a part of a list of names

I have some files and each files have distinct name but all of them have the same "-statement" at the end like this: flower-statement.mp3 leave-statement.mp3 ball-statement.mp3 goal-statement.mp3 ...
3
votes
0answers
25 views

Batch rename Chrome bookmarks

How do you batch rename lots of chrome bookmarks? For example, 1. "Introduction" is replaced with "Intro"? 2. "Google" is replaced with "G"?
2
votes
1answer
106 views

Windows Batch File Rename to Replace %20 Characters with _

I have a folder with a lot of files that I need to rename. The original format for example is ABC%20DEF%20GHI%20JKL.xyz. What I need to do is to replace each %20 with _. So essentially I'm parsing out ...
2
votes
1answer
60 views

Batch Script to Bulk Rename Files - Strip off Parenthesis and all Characters between

I wish to rename a group of files in a particular folder in such a way that everything between and including the parenthesis is erased. For example a file with the name of: "78 Tax Tips for ...
0
votes
1answer
26 views

How do I remove the some parts of a file name for many files in Windows 7 using batch script? [duplicate]

I have some jsp file which need to rename. it has _h5 prefix. SO i need to remove that _h5 and make the file. ex: Account_h5.jsp to Account.jsp
9
votes
5answers
25k views

How to rename multiple files in multiple folders with one command

We want to rename our *.html files to *.php but (sadly enough) have not enough knowledge to do it with a cmd prompt command and/or batch file. The problem is that each file is in separate folder – ...
3
votes
2answers
97 views

How to add a prefix to all files and folders in a folder? (windows)

The following command only changes the name of the files but not the folders. for %a in (*) do ren "%a" "00_%a"
0
votes
1answer
22 views

Regex directory renaming

I'm not great with regex and can't figure out why this is selecting the next character after the - /[\-][^ - ]/g with that, it selects - and the following character. I want to select the dash ...
3
votes
1answer
91 views

Building a DOS batch script to rename files

I'm currently stuck on an issue with a DOS batch script I’ve been working on, and I need help renaming the files. Here is the renaming scheme I’m searching for: Original filenames ...
0
votes
1answer
61 views

Bulk rename .jpeg to .jpg

I have over 100,000 images in a complicated folder structure similar to the one below: ├── folder1 │ ├── 0001.jpeg │ └── 0002.jpeg ├── folder2 │ ├── 0001.jpeg │ └── 0002.jpeg ├── folder3 │ ...
3
votes
3answers
85 views

recursive batch rename files

I have audio library that has artworks in every folder and the names are: Cover.PNG, Cover.png, Cover.JPEG, Cover.jpeg, Cover.JPG, Cover.jpg… How to recursively find all those files and rename them ...
-1
votes
1answer
20 views

Post fix file name with SML on windows using command prompt [duplicate]

I have GUID based Image files such as ff568205-e82c-4be8-aca8-18f40ec64e5a.PNG 1f91e4e9-c163-4f28-acbc-dbb7693ef2e5.JPG I have thousands of images folder and i need to rename all these file and ...
2
votes
1answer
74 views

Add 1 character at the start of each filename

I want to put 1 character at start of each jpg filename. I have made this batch file: for %%A in (*.jpg) do ren "%%~A" s"%%~nA%%~xA" This works almost perfectly, but the first file is processed ...
12
votes
4answers
22k views

Add text to end of filename (but before extension) using batch file

I have a list of files which are in the format on the left. I want to append a string to each file name, but before the extension, as shown: File 1.txt -> File 1 version 1.txt File 2.txt -> ...
2
votes
2answers
223 views

How to move files into corresponding folders which have the same name?

Example scenario: I've multiple files ending with .torrent and I would like to move them into folders which has the same name. For example given the following files: abc.torrent def.torrent some ...
3
votes
1answer
1k views

How can I bulk move and rename images/videos in a folder

All my mobile device's photos and videos are backed up to the cloud and synchronized to my laptop using Dropbox's "Camera Upload" feature. All the photos and videos get added to the "camera uploads" ...
3
votes
3answers
4k views

Add folder name to beginning of filename

I have a directory structure as below: Folder > SubFolder1 > FileName1.abc > Filename2.abc > ............. > SubFolder2 > FileName11.abc > Filename12.abc ...
0
votes
0answers
23 views

Most efficient way to automatically name photos according to a naming convention?

I am a solar site assessor and am subcontracting for a company that uses a specific naming convention for all photographs taken at sites. I'm wondering what would be the best way to efficiently ...
1
vote
4answers
189 views

add “text” to end of multiple filenames

Using the code below I add text to end of file names which are: 1.mp3 2.mp3 and should be: 1text.mp3 2text.mp3 but it changed to: 1.mp3text 2.mp3text Code: @ECHO ON FOR %%A IN ...
1
vote
2answers
2k views

Batch script to remove # from a file name (only in a specific directory)

I'm looking for a script to remove the # character out of any file names in a specific directory (PDF documents). I've been looking at some similar examples, but it's all a bit confusing!
4
votes
2answers
9k views

Batch removal of special characters from file names in Linux

I am seeking to remove all special characters from several files' worth of downloaded .pdfs, and came across exactly the solution I was looking for, albeit in an OS X environment: function to ...
0
votes
3answers
30 views

Selectively modify file names

I have a folder containing a large number (over 1500) ttf files many, not all, of which have somehow been incorrectly named. e.g. arialttf instead of arial.ttf. Is there a shell command I could use ...
0
votes
1answer
30 views

text editor-style renaming of filenames in directory

How can I edit the names of files in a directory as though I were editing the text of a file using a text editor? I feel like I've seen this demoed in a video, perhaps using some Vim plugin or ...
0
votes
1answer
41 views

remove substring from filenames in subdirectories in mac

I have a backup from windows 8 file history that added timestamp to my files in all subdirectories. as the following _sites (2014_08_04 20_32_19 UTC).extension I need to remove the whole substring to ...
0
votes
1answer
110 views

Mass changing Links in OneNote 2010

I am using OneNote extensively for my work. For example one part of my work is reviewing incoming documents. I do an initial review and then get more specific reviews from members of my team. All this ...
0
votes
1answer
132 views

Wildcard in rename and robocopy command into batch file

What I am attempting to do is automate some work I do daily. What I would like to happen is a prompt saying What is your name? Then use that answer as a variable to be used in different commands like ...
1
vote
2answers
203 views

Rename JPEGs by adding a prefix according to date taken

I have a folder with pictures taken with different cameras and all these pictures have a correct DateTimeOriginal EXIF tag set. Suppose a list of files like this: 20150831_153712.jpg IMG_5246.JPG ...
0
votes
1answer
2k views

How to batch add leading zero to fix order of # filenames? (not experienced with code) [duplicate]

Possible Duplicate: How can I mass rename files from the command line or using a 3rd party tool? The title says it all. The problem is that the first nine files of a couple of hundred are ...
0
votes
0answers
273 views

Easiest way to rename DICOM files

I have got DICOM patients that have an attribute Patient's Name (0010,0010) I do not like. I have a tool to change attributes of each DICOM files but that tool cannot iterate over directories. Is ...
0
votes
1answer
36 views

Adding current folder as a prefix to file name without duplication

I'm trying to piece together a batch file that will add the current folder name as a prefix to all files within that folder. In addition this needs to be able to run multiple times without duplicating ...
1
vote
1answer
53 views

Automator: rename files fixing the gaps in numbers 1,2,3,5,6 -> 1,2,3,4,5

I have a huge bunch of scanned files (before OCR) and I want the Automator (Yosemite) to fix the gaps in files numbers: some pages was duplicated and after deletion the duplication there are gaps in ...
1
vote
2answers
335 views

Renaming hidden files to their filename sans .. (double dot)

I accidentally ran a script that added a ".." infront of a variety of files. ie. originalfile ==> ..originalfile Now I have a variety of files that are hidden. Being new to Linux commands, is there ...
1
vote
1answer
34 views

Directory with same name subdirectory move

I got myself stuck and can't seem to find a quick way to fix this. I have an external HDD with a folder structure like this: \folder1 \folder2 \folder3 some of these have a subdirectory named the ...
0
votes
2answers
138 views

How do I rename multiple files on Windows? [duplicate]

I have 2800 files, all of whose names start with a four-digit number followed by " - ", and I want to delete all those leading numbers from all the files, leaving only the alphanumeric file names1.  ...
1
vote
3answers
77 views

Start a Command Prompt and then change the title of it via batch file?

I'm trying to start a command prompt via a batch file, echo some text, and change the title of the command prompt. I'm trying: start cmd /k echo This is a terminal /k title Terminal The echo text ...
10
votes
4answers
3k views

How to recursively rename files/folders to make their names Windows-friendly?

I have a bunch of files on a Ubuntu box, which have various characters in their filenames that Windows doesn't accept (mostly ":" and "*", but possibly others). What's the simplest way to get these ...
0
votes
0answers
27 views

Renaming numbered files with gaps into continuous numbering

I have a group of numbered pictures (for example: "img_938" through "img_1136"). The problem is that there are occasional missing numbers. (e.g "img_972", "img_973","img_975") where my camera ...
1
vote
0answers
44 views

Bulk file rename - remove certain part of a file name

I have lots of files where I want to replace the first part of the file name (before the last "_") with an "e". tom_&_jerry-s03e12_3089.jpg mickey_mouse-s06e02_16091.jpg ...
0
votes
1answer
39 views

Need to move lots of consistently named files to certain folders (Windows 7)

I need to populate a bunch of folders with files of various types. The destination folder structure is as follows YEAR > COMMITTEE_NAME YEAR > YEAR MONTH COMMITTEE_NAME EX: 2015 > ADP 2015 > 2015 ...
0
votes
1answer
78 views

Remove extra period in multiple file names

So I was looking into ways to do this like this post How do I remove the same part of a file name for many files in Windows 7? Because I wanted to change all the song files on my phone into mp3s. I ...