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

learn more… | top users | synonyms

-1
votes
2answers
38 views

Rename PDFs by adding a prefix according to date created

I have a similar question to this one 'Rename JPEGs by adding a prefix according to date taken' and I'm also wanting to use exiftool plus a batch file of some sort to do a very large filename check ...
-1
votes
0answers
29 views

Rename multiple files in Windows 10 (without using Bulk Rename Utility)

I know this sounds like a question that's been asked many times, but I've searched several related threads and still haven't found what I'm looking for. I want to be able to select multiple files in ...
0
votes
0answers
28 views

How to batch-rename photos from EXIF data?

I have a DCIM directory containing photos named as IMG_{NNNN}.JPG from iPhone and photos named as DSC_{NNNN}.JPG from Xperia. This directory is the result of multiple directories merging, which all ...
-1
votes
1answer
36 views

Bulk rename files based on the first line of their contents?

I have a folder full of .java files, which I wish to rename. I want to rename the files with the first line of the contents of that file, with suffixes if the first line is same for two or more files?...
3
votes
3answers
58 views

Windows 7 command to add a leading zero to a batch of filenames

Having trouble getting the correct command syntax. We need to add a leading zero to a batch of files in a directory on a regular basis. I cannot download and install a software item to do so. The ...
0
votes
1answer
42 views

How to move multiple file names?

At work I had to rename 650 files. Turns out I skipped one file in the middle. So I added it, but now I have to take the names from subsequent files to the one I added and move them all up 1 "slot". ...
0
votes
1answer
22 views

Need to rename .rtf files to match the contents of each file

I need to split, rename and change about 8000 files for a charity that I do work for. My question is if there is a program or code in Windows that I can use to change the file names to match the donor ...
2
votes
1answer
20 views

Swapping characters within filename in a windows batch file

I have a folder with picture files. Filename structure is ddmmyy2222.png where dd=day, mm=month and yy=year. I'm trying to rename them according to the structure yyyymmdd.png like this: 120516222....
0
votes
0answers
41 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
1answer
39 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 ...
1
vote
0answers
77 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 ...
1
vote
4answers
50 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 ...
0
votes
1answer
17 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
37 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 ...
3
votes
0answers
38 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"?
0
votes
1answer
39 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
2
votes
1answer
79 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 ...
2
votes
1answer
210 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 ...
3
votes
2answers
281 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 ...
0
votes
1answer
119 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
1answer
114 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 ...
-1
votes
1answer
28 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
86 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 ...
3
votes
3answers
133 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 ...
2
votes
2answers
294 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 ...
0
votes
0answers
28 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
478 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 ("C:\Users\...
1
vote
1answer
63 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 ...
0
votes
3answers
33 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
45 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
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
165 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
332 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
194 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
46 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
63 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
489 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
41 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
171 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
101 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 ...
1
vote
0answers
48 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 peppa_pig-s06e04_23092....
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
96 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 ...
2
votes
1answer
1k views

Add suffix to multiple folder names, keeping the original name

Basically I have a number of folders all called different names. I would like to add a suffix to the end of each folder and within Windows (no 3rd party software). For example: Mercury, Venus, Earth, ...
1
vote
1answer
343 views

How to make uppercase all files and folder on a directory?

How does one rename all folders and files in a folder into UPPERCASE? (if it is possible in its subfolders too) I have this code, but it converts only files, not folders. @echo off setlocal ...
0
votes
1answer
149 views

Recursive rename files and folders

I need to rename every subfolder of a specified path. For example I have a directory structure like this: project/ /x /something /somethingElse /x /x....
0
votes
1answer
544 views

Remove timestamp from filename

I need to rename files generated automatically, truncating a timestamp at the end. Files are named "abcd_efgh_jklm_21.04.2015.csv", with the numbers being today's date in german culture spelling and ...
1
vote
2answers
284 views

Bulk Folder Renaming Powershell Script

The script below is used for Bulk Folder Renaming. However I wanted to make this as a Generic Script so users can give input and use it accordingly. This script has 3 inputs a) Enter the Source ...
3
votes
2answers
292 views

How do I signify repetition in a ZMV regex?

I'm trying to manually pull the digests off of Rails assets (don't ask). I was directed to ZMV for easy regex-based find/replace. But the normal {32} syntax for specifying an amount of repetition does ...