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

learn more… | top users | synonyms

0
votes
1answer
12 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
18 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"?
-1
votes
0answers
10 views

How to rename books files based on its content like in Mendeley but more precise? [on hold]

How to rename book files based on their content like in Mendeley but more precise? Is there a better software?
0
votes
1answer
20 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
45 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
60 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
45 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
19 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
36 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 │ ...
2
votes
1answer
74 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
11 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
66 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
50 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
145 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
21 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
113 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
1answer
55 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
29 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
39 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
28 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
81 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
130 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
55 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
35 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
34 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
201 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
30 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
99 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
49 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 ...
0
votes
0answers
24 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
40 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
66 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
525 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
185 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
70 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 ...
0
votes
1answer
225 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
193 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 ...
2
votes
2answers
188 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 ...
0
votes
1answer
98 views

Batch rename script to rename/replace square brackets

I am currently using Windows Server 2003 and would like to create a schedule task or command to run which would batch rename and replace all square brackets '[]' from file names and replace them with ...
0
votes
1answer
301 views

regular expression to reverse the order of two unknown words separated by a comma

I am trying to use ReNamer regular expressions to reverse folder names that use author names. They are set up as LastName, FirstName and I need to change them to FirstName LastName (minus the comma). ...
2
votes
1answer
31 views

How can I swap patterns in filenames?

I have a folder of files with names like thing.y.big.png thing.y.small.png thing.xxx.big.png thing.xxx.small.png and I would like to rename them so that the 2nd and 3rd "fields" are swapped. In the ...
0
votes
1answer
18 views

How to rename multiple vars that contain FOR counter vars in bat file

Here is my sample: set mail = mymail for /L %%x in (001,1,999) do ( set yourmail = !mail:+%x@gmail.com :: other commands here ) I want the result be like: mymail+001@gmail.com ----> ...
0
votes
1answer
125 views

Rename files using batch file

I have been searching for a way to rename 150 files daily simply by executing 1 command. The current files are in the same folder C:\reports. The file names differ and the only change I have to make ...
6
votes
7answers
2k views

How to bulk rename numbered files? [duplicate]

I have two folders in Windows 8.1. The first folder, a, has 50 .jpg files numbered 01.jpg through to 50.jpg. My second folder, b, has the same amount of .jpg files named in the exact same manner. My ...
0
votes
0answers
34 views

bulk renaming files to form a grid

I'm not sure if this is the right forum, if not my apologies, but I cant quite figure how to classify this problem. I am using a photoshop script to slice a large image into square tiles (as part of ...
1
vote
1answer
33 views

Semiautomatic rename of files according to pattern?

I have a lot of files and directories named similar to [Origin]Description[Techinfo]. Sometimes, brackets can be round brackets instead of square brackets, or spaces between the parts. How can I ...
0
votes
0answers
70 views

appending folder name to filenames

please help me with this: for a file structure in a parent folder (say "C:\Folder 1") that contains: Folder A\File a.txt Folder B\File b.txt I would like to prefix the folder name to the ...
0
votes
2answers
428 views

How to call perl file every minute from batch file

I have written a perl script which i try to call every 1 minute from a batch file. There is no error but it do not call it every 1 minute. It just pop command prompt when clicked once on .bat file. ...
2
votes
2answers
471 views

Renaming .jpg files in subdirectories without changing the creation date (on a MAC)

I have a bunch of JPEG files with exactly the same name (i.e. "orig.jpg") each in a seperate subdirectory. Each subdirectory has a unique name (e.g. xplmz3nc5n, tyrn5m6ktv, etc...). I want to rename ...