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

learn more… | top users | synonyms

3
votes
1answer
2k 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" ...
1
vote
1answer
1k views

Find “ extra” dot in filename and remove it [duplicate]

I have some files inside a directory structure with multiple folders that have more than one dot. For example, "x.y.jpg" or "x.yz.01.jpg". How can I list all files with more than one dots in their ...
4
votes
2answers
2k views

Bulk Rename Utility

I have been using Bulk Rename utility and I have been having some issues. I have some files named things like 664722.pdf,664762.pdf, and 664722-1.pdf that I need to rename. The problem is I have to ...
1
vote
0answers
93 views

Image names with international characters - 404 error

Hi I'm trying to figure out what's wrong, and maybe someone can help me out. I recently moved a bunch of images over to a new server and imported them into my wordpress database. Many of these images ...
2
votes
2answers
558 views

Find and remove common words in filenames automatically

I'm using Mac OS 10.8.4, and want to do some batch renaming using the Terminal which is a bash shell I think. I have a large number of folders of large number of files. The filenames have words ...
0
votes
0answers
291 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
602 views

Changing the sequence numbers of files in Linux

Is it possible to write a script to rename a series of file as below: sol-temp_0010.png to sol-temp_1.png sol-temp_0015.png to sol-temp_2.png sol-temp_0020.png to sol-temp_3.png etc.?
3
votes
2answers
5k views

How do I remove non-ascii characters from filenames?

I have several files with names containing various Unicode characters. I'd like to rename them to only contain the "printable" ASCII characters (32-126). E.g, Läsmig.txt //Before L_smig....
2
votes
2answers
5k views

Batch Rename (remove specific character) Files

I have about 3500 recorded phone calls and they are all labelled yyyy_mm_dd_hh_mm_mobilenumber.3gp I want to remove the underscore from the name so searching through them is easier How would I do ...
0
votes
2answers
796 views

Rename and reverse the numbering of a list of files

In Linux, preferably using bash, what would be the best way to achieve the goal below? Say I have a series of numbered files 001.png, 002.png, 003.png What is the best way to move/rename them to ...
4
votes
2answers
10k 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
1answer
4k views

how to loop through sub folders and rename to parent - folder - file number

Here are my folders: Dexter\Season 1\season 1 ep 1 Dexter\Season 1\season 1 ep 1 Dexter\Season 2\season 1 ep 1 Dexter\Season 2\season 1 ep 1 Dexter\Season 3\season 1 ep 1 Dexter\Season 3\...
0
votes
1answer
253 views

Regex: Is there a character for increasing digits in PCRE?

I am using a PCRE compatible file rename program. Is there a character or pattern I can type in the "replace" field of the program to tell it to append numbers at the end of file names and that they ...
12
votes
4answers
25k 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
796 views

Windows script to run as a batch to replace character in list of file names

I have 4 files as below: C:\Documents and Settings\vm\AC R\test JE.BOS.20130516.CSV JE.BES.20130516.CSV KFROPN.SAVEFILE.CSV KFBAD.SAVEFILE.CSV I have to replace "." in the filename with "-". But ...
0
votes
2answers
235 views

Command Prompt being Illogical? Want to add numbers using Rename

My camera only numbers photos using 4 digits, but I am now well into the 5 digit realm. So for thousands of photos, I would like to add a fifth digit. E.g. rename IMG_2450 to IMG_12450. I did this ...
3
votes
1answer
409 views

How to find a file and move it into the directory it was found in

I am trying to rename files in sub directories using xargs by running the following command: find . -name oldfile.txt -print0 | xargs -n 1 -0 -I % mv % newfile.txt The problem is that the file gets ...
3
votes
3answers
943 views

Linux GUI Regular Expression File Renamer (with substitution)

I have folder with several hundred files named like this: 010203.txt I want to rearrange the file names so that last two digits are moved to the front like this: 030102.txt I want to avoid writing ...
-1
votes
1answer
414 views

How can I recursively rename all files in a folder? [duplicate]

I'm using linux and I have a project with files named myproject-someextention.whatever and someotherstuffmyproject and so on. I'd like to recursively rename everything that has myproject in the file /...
1
vote
1answer
3k views

Batch rename files to numbers with leading zeros [duplicate]

Possible Duplicate: How do I rename a bunch of files in the Command Prompt? I'm coming back to Windows after several years in Linux (I'm a trucker, and the company I just leased my truck to, ...
1
vote
4answers
3k views

Using PDF MetaData to rename PDFs in MAC OS X

I have a number of PDFs that I downloaded from JStor. They come with unhelpful numeric filenames, but often there is at least a title if not the author in the metadata. How do I batch rename a number ...
3
votes
2answers
2k views

Mass file renaming in Bash but keeping a section of the file name

I have a large number of .jpg file that have extraneous data ahead of a file id that i need to have removed to better set up my file structure for a later project. How can I do a batch rename in ...
3
votes
3answers
5k 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
1answer
149 views

Replace duplicate words in filenames

I have files with filenames such as this: かな_かな I'd like to replace that with just: かな Is there any way to do this in batch, automatically? Note that some files have different words before and ...
1
vote
2answers
2k views

Batch script to rename portionof a filename

I've been trying to make a script that will a file name and change only one word in it. An example would be: projectname.vcproj.domainname.username.user to projectname.vcproj.otherdomainname....
1
vote
1answer
4k views

Rename every file in a directory to remove part of filename [duplicate]

Possible Duplicate: Mass Rename Files with bash I have a directory full of files with names like this: 1418450360_72733601001_th-72713048001.jpg?pubId=1418450360 1418450360_72733606001_vs-...
0
votes
2answers
1k views

Remove chinese characters in foldername

I am running windows server 2003 and I need to find a way to mass rename folders that contains chinese characters. Basically I want to remove chinese characters but if I remove it then the folder name ...
1
vote
1answer
622 views

Renaming multiple files in various folders to the same name in W7

I have a bunch of directories, each one contains exactly 1 file named folder.jpg. What I would like to do is to rename all the files cover.jpg, but when I do search on *.jpg and try to rename, it ...
3
votes
2answers
505 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 start....
-1
votes
2answers
927 views

Batch rename images numerically? [duplicate]

Possible Duplicate: Rename lots of files in one click I have thousands of images that I wish to batch rename numerically. The issue is all the dozens of images I have saved have osbscure ...
1
vote
1answer
655 views

How to batch rename files in Mac OS X?

I have the bunch of files that have names like MOV001.mpg, MOV002.mpg etc. They all have different date-time. How can I rename them so they turn into 2012 08 05 13 45 33 MOV001.mpg, 2012 09 02 23 ...
0
votes
2answers
786 views

Recursively rename all files in directory by using relative path separated by underscores

I have a directory structure like below where the structure is known, and the file names repeat themselves. I want to rename the files so they are unique, so that a/0/widgets/AL/part-1.gz becomes ...
0
votes
3answers
2k views

Automate the renaming of file in OSX

Example: We have a folder filled with 30 images with inconsistent names. These images need to be named consistently and numerically: image1.jpg image2.jpg image3.jpg ... image30.jpg Can this be ...
2
votes
3answers
10k views

How do you quickly remove underscores from folder names?

What is the easiest and fastest way to remove underscores from folder names in Windows? Running a Google search I found a VB script that automatically removes all underscores from file names in the ...
2
votes
3answers
4k views

Batch change file extensions in Mac OS X?

I used wget to download a website into a folder. When files have the same names, wget stores the new one as name.extension.# Now I have hundreds of files like 1.jpg, 1.jpg.1, 1.jpg.2, etc. How can I ...
1
vote
1answer
695 views

I need to rename a group of numbered files, but modify the number + 5. How? [duplicate]

Possible Duplicate: How can I mass rename files from the command line or using a 3rd party tool? I have a group of 47 .mp3 files that are being used for a multimedia project that are named 01....
1
vote
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 ...
7
votes
2answers
4k views

Batch rename files in Linux

How I can rename images with 'rename' command from "something_full.jpg" to "something_500.jpg" recursive?
0
votes
1answer
974 views

Batch rename folders?

This is probably a super-simple already solved task, but: I have a series of folders containing eBooks in various formats. They have the folder name format: \Lastname, Firstname (n books)\ I want ...
0
votes
1answer
504 views

Rename files in a directory [duplicate]

Possible Duplicate: Rename a group of files with one command I have a directory having .txt files. I need to rename the extension of all the files to .xml. How can I do this in command line? ...
9
votes
5answers
26k 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 – ...
2
votes
2answers
2k views

rename file with zmv

I just discovered zmv this morning. To test it i have created a few files. test1.txt test2.txt test3.txt I'm trying to rename them with zmv I'd like to get this output: test-1.txt test-2.txt test-...
8
votes
3answers
7k views

Mass Remove File Prefix on a Mac?

How do I mass remove file prefixes in a Mac? For example, inside my folder, I have the following files: img_sometext1.jpg img_sometext2.jpg ... img_sometext10.jpg How do I remove img_?
-1
votes
1answer
1k views

Facebook photos: batch renaming to useful filenames [duplicate]

Possible Duplicate: How can I do a mass file rename in Windows? Scenario: I work with a journalist friend who writes and photographs for travel and art subjects. He uses his Facebook profile ...
2
votes
1answer
113 views

Replace files with others from other folder matched by first token in filename

Lets say I have two folders: ls /A/ 01 - IncorrectName.flac 02 - otherincorrect.flac ls /B/ 01 - CorectName.flac 02 - Othercorrect.flac How would I move the files from dir A to B, ...
2
votes
2answers
717 views

Using mmv, how to strip folder names of a “+”

I have a bunch of folders with + instead of spaces. I tried mmv '*+*' '#1_#2' as well as mmv '*\+*' '#1_#2' with the result + -> #1_#2 : no match. and + -> #1_#2 : no match. respectively....
3
votes
1answer
9k views

Windows XP: how do I add 00 in front of every file via command prompt?

Windows XP: how do I add 00 in front of every file via command prompt? I tried REN * 00*.gif but it doesn't work.
1
vote
3answers
2k views

Replace umlauts with regular expressions

I would like to sync several folders on my local Mac with a remote server via SFTP. As the existing umlauts appear to be problematic for my syncing software (Deltawalker), I am looking for a way ro ...
2
votes
1answer
253 views

Need assistance making a batch file for renaming files in separate folders

Ok, here's one for you. I'm trying to use a batch file to rename a bunch of files, but none of them are in the same folder as the batch file itself. The command prompt keeps telling me that the ...
3
votes
2answers
338 views

Linux: Howto get same output filenames of batch conversion with different extension?

I am using Timidity to convert a lot of midi files to mp3. I was wondering if there is a standard way of specifying a output pattern so that it converts all the *.mid files to /path/*.wav I ask this ...