Batch renaming is a form of batch processing used to rename multiple computer files and folders in an automated fashion

learn more… | top users | synonyms

0
votes
2answers
34 views

Renaming files with a prefix and suffix in folders of varying depths

I have many images of varying extensions (jpeg,jpg,png) contained in many different directories, many of which my be contained in other folders for organizing. Such as: Folder 1/ Folder A/ ...
0
votes
3answers
57 views

Batch rename, add extra “.” character at position 3 in filename, recursively

I've been struggling to make this work but I am not very good with regex. This is what I tried to do and it didn't work (after 50 minutes, still going on with no visible change): while IFS= read -r ...
2
votes
3answers
154 views

Multiple File Extension Rename with single command [duplicate]

I received some important files via mail. There are about 150 files like these. The extensions of the files are named as zip1,zip2,zip3, zip_ etc. I just want to change the extension of these files ...
1
vote
1answer
142 views

Use metaflac to rename .flac files from flac tags recursively

I am trying to rename a bunch of songs using metaflac (sudo apt-get install flac) from their respective tags recursively, because I'm dealing with an unknown number of subfolders. Output should be: ...
3
votes
2answers
209 views

Recursively rename all files and folders to Title Case from terminal

I am a newbie and I have searched everywhere for this, I have also tried combining a lowercase renaming command with some regex to get Title Case instead of lowercase but I wasn't very successful. ...
0
votes
1answer
77 views

How to rename a movie file by using its internal name attribute?

I had to recover a bunch of movie files from my external HDD due to filesystem corruption and used photorec to do so. Now all my files have random names like f00000.avi. We are talking about 1000+ ...
9
votes
2answers
256 views

Batch Rename Files in Folder

How can I strip out some text from filenames in a folder? I'm currently attempting: rename s/"NEWER_(.*?)"//g * But nothing it getting renamed I have a parent folder, with a bunch of sub-folders, ...
4
votes
2answers
274 views

Batch/Multi rename only files with a specific number range

I have a situation where I have the following: file01.ext . . . file99.ext file100.ext . . . And I want to (using rename ) insert the '0' for the files 01-99 (so that they become 000-099) but not ...
3
votes
3answers
134 views

Batch rename using a .csv

I have 700 folders that I want to rename. All these folders together are located in one single folder. I know the locations of all the folders on disk. I also have the folder names in a data sheet. ...
0
votes
2answers
76 views

multiple file rename based on modification date

I have looked on the web on multiple sites but I can't seem to find a solution and the man page is not clear (I'm a beginner with the CLI). This is my problem: I have about 200 files in a directory, ...
0
votes
0answers
24 views

Rename and Resize Photos Script

I want to have an automated script run every day, it renames my photos to creation date and location, something like this 2014-09-Paris-001.jpg 2014-09-Paris-002.jpg etcetera and then resize a copy ...
0
votes
2answers
117 views

How Can I Remove All Characters After a Certain Character Appears Twice Using Bash Scripting?

I have multiple files in a directory over 200 which I would like to rename by removing all other characters including the character and the rest after it appears twice. Example: One of the files in ...
1
vote
1answer
59 views

Batch renaming files from the commandline [closed]

I have files with the following names: 1_shahlirtsb_p.mp3_103899.mp3 2_shahlirtsb_p.mp3_103898.mp3 3_shahlirtsb_p.mp3_103897.mp3 4_shahlirtsb_p.mp3_103896.mp3 5_shahlirtsb_p.mp3_103895.mp3 ...
2
votes
3answers
482 views

Batch rename — multiple image types

I have a large number of images that I copied from a failing external hard drive. All of the images are fine and have no corruption, but oddly a large number of them are now missing extensions. The ...
3
votes
3answers
4k views

An Ubuntu/Linux alternative of Bulk Rename Utility for Windows?

I have only spent 5 months with Ubuntu and it has been an awesome experience, I hardly boot into Windows now, but there are some things I miss, like the Bulk Rename Utility I used to have in Windows. ...
0
votes
2answers
204 views

How can I bulk-add a file's creation date to the filename?

I have generated a time-lapse series of images and have named them sequentially {0000..9999}.jpg This isn't great for browsing the whole set as it's harder to tell when a given image was taken from ...
1
vote
1answer
116 views

Ubuntu rename command regex not working

I'm trying to use the rename command to rename a bunch of images in a folder. I have this list of images, image.php?x=10 image.php?x=25 image.php?x=50 image.php?x=75 I'm trying to rename them to ...
0
votes
3answers
63 views

Batch Rename Using Regex but Mainaining Some Substring

I made a lot of research before I put this question. I found a different links to do batch rename using regex like this and other similars: *Pattern based, batch file rename in terminal My problem ...
5
votes
5answers
696 views

How do I add zero padding to filenames that already have numbers in them? [duplicate]

I used Sound Juicer to rip a CD of audio for a language learning book so that I could listen to them on my Android. However, Sound Juicer seems to only have the option of numbering files without ...
3
votes
5answers
3k views

How to mass add file extension?

My photo importer moved files from my camera and renamed them, but I forgot to specify that it should keep the file extension. So I have several folders with hundreds of JPG & AVI files that are ...
2
votes
1answer
278 views

How to trim file name containing extra characters using shell commands

I have a list of thousand files which have filenames with .txt.txt appended twice, I want to remove the second .txt from the file. for eg. File1.txt.txt is the original file. I want to rename it to ...
1
vote
4answers
294 views

Change directory structure from /YEAR/MONTH/DAY/ to /YEAR-MONTH-DAY

I need to change my directory structure for my photos from /YEAR/MONTH/DAY/ to /YEAR-MONTH-DAY I know this can sort of be done with exiftool, but it will only work on files containing EXIF-tags, and ...
1
vote
2answers
766 views

How can I batch rename files with terminal

If I have a set of files like: 1-3-Image Export-08_s3c1.jpg and I would like to rename the first part to look something like this, by adding and replacing the first part with 'G2_NR2_replicate2': ...
15
votes
6answers
2k views

Renaming hundreds of files at once for proper sorting

I have a ton of files, all named stuff like 1.jpg, 2.jpg, 3.jpg, and so on up to 1439.jpg, however, I have a problem with one of my projects and alphabetizing. It will usually go in the order 1.jpg, ...
8
votes
5answers
820 views

Append text to file names which do not contain a dot

Given the following files: english_api english_overview style.css I want to get: english_api.html english_overview.html style.css In other words how to append a text to all files that do Not ...
2
votes
0answers
489 views

What is a good GUI file renamer that takes files from command line URIs?

Looking for a GUI mass file renamer that can be run from a selection of files in Nemo. Nemo has a built-in placeholder for a mass rename tool so you can provide the name of the app to run to rename ...
4
votes
1answer
120 views

Move/Rename a lot of files with specific file size

I recovered a lot of pictures (1000+) from a bad SD Card. All except 75 which seems to be 'broken'. I ran a program to get all the pictures reading at a lower level and I found out I got all the ...
3
votes
3answers
145 views

Bulk/Batch-rename files with different endings (NOT change the endings)

My Problem, that I've got a folder with many different files like: xxxxxxxxx.avi yyyyyyy.jpg zzz.txt And I want to rename them into 001.avi 002.jpg 003.txt It's not working with ...
5
votes
1answer
2k views

How to batch rename files (images) based on CSV file

What I have and want to achieve: There are thousands of images in one folder. I have a CSV file with following columns: A: original name B: renamed name A typical row looks like this: ...
2
votes
1answer
697 views

Recursively copy (and rename) files to their own same directory with another name

This Q and A will cover a very specific yet common case: given many files with the same or similar name each in its own directory, create a copy of each of them in their original directory but with ...
1
vote
3answers
305 views

I cannot rename files in bulk using ubuntu's rename feature

I cannot rename files in bulk using ubuntu's rename feature. The files are on a NTFS partition. I want to rename files that look like this: whatever pic george.jpg tacoma narrows bridge.jpg green ...
1
vote
1answer
66 views

How to batch rename

I want to batch rename files I have a folder and in that folder there are files that I want to change name to 1,2,3,4,5,6 etc.. Thank you for your time
0
votes
3answers
90 views

How to recursive regexp rename double dashes

I am using Wordpress Eazyest gallery to create 2000 galleries. Some files have double or triple dashes in filenames. For instance: abc---def.jpg These files are uploaded via FTP. On Wordpress admin ...
3
votes
2answers
2k views

Remove last three characters from all files in a directory

I have a directory with about 10 files and I want to remove the last three characters from the names of all of these files. Anyone know a terminal command that can do this? And separately, how would ...
2
votes
2answers
104 views

Removing a string of files with rename

I have been trying to batch rename a bunch of files so that they are consistent and fit within the name structure that I have come up with. For instance,I am renaming comics, and so I have a directory ...
1
vote
1answer
251 views

Easier way to rename batch files Like Windows

Ok Im finding all the rename options on this site and around the entire internet a hassle I for one would like to rename batch files like in windows where I put in the name and it renames all files ...
3
votes
4answers
3k views

How To Rename Multiple Photos and Videos Based on EXIF Data?

I often import photos and videos (mostly having JPG and MOV extensions) from digital cameras and tablets to my PC, and I would ideally like to see them sorted according to the dates and times they ...
0
votes
2answers
669 views

Need help mass renaming files using command line that contain a certain string

I have about 200 files that are named like this: 01_-_Back_Alley_Uproar.avi 01_-_Bad_Luck_Cat.avi 01_-_Beep_Beep.avi 02_-_Broomstick_Bunny.avi 02_-_Bunker_Hill.avi and so on. I would like to ...
1
vote
1answer
46 views

Multiple item name copying

So I've got a folder with 2n files. n them are .foo files, n of them .bar files. I want to copy the filenames of the .foo files (which are all different) to the .bar files ordered alphabetically. The ...
3
votes
2answers
598 views

Using text list to batch-rename files

Suppose I have a folder with some 20 files (say, photos I took on a trip), and I want to rename them in one go, only there isn't any specific Perl expression I want to use (for example, if I'd like to ...
0
votes
2answers
151 views

Software to file handling operations

Is there some tool to Ubuntu like Filerfrog, capable to perform tasks like: Delete Empty Files\Folders Copy Path to Clipboard Invert selection Split and Join folders List of Files inside a folder ...
0
votes
1answer
248 views

Having issues renaming file extensions of multiple files at once through terminal. “Rename” comm, does not seem to work

I have a lot of video files that are in mixed formats (.avi, .mkv, .wmv) that I need to change to ".mp4". All of the video files are within one main directory, but also flow into sub directories under ...
-1
votes
1answer
196 views

Complicated batch rename file problem

I did find the program pyRenamer, but I don't seem to understand it. I have hundreds of files with name like main.php?g2_view=core.DownloadItem&g2_itemId=6027&g2_serialNumber=3 here ...
3
votes
3answers
4k views

How to rename multiple files sequentially from command line?

How to rename file as below AS1100801000002.RAW7AGS AS1100801001008.RAW7AH4 AS1100801002001.RAW7AH9 AS1100801003002.RAW7AHE AS1100801004009.RAW7AHT AS1100801005002.RAW7AHY AS1100801010002.RAW7AJ3 ...
1
vote
2answers
1k views

How to batch rename files (.jpg) randomly?

Ok, so I have a digital photo frame that I have, and view my photos from a USB. Everything works fine, however, there is no way to display the pictures randomly. So, I have to watch my pictures in ...
9
votes
2answers
7k views

Pattern based, batch file rename in terminal

I need to rename the following: file_001_loremipsum.png file_002_dolor.png file_003_sit.png file_004_amet.png file_105_randomness.png into upl_loremipsum.png upl_dolor.png upl_sit.png upl_amet.png ...
13
votes
2answers
2k views

Batch rename files to lowercase

Is there a way to rename all files in a directory to lowercase|uppercase? I am looking for a oneliner command. I loved TotalCommander's alt+f7, now I need that functionality in the Terminal
0
votes
0answers
37 views

changing file names in a directory [duplicate]

Can I change the name of all the files in a directory automatically? For example, I want to remove all the spaces in some tex files. I don't want to spend days going file by file and editing the ...
0
votes
1answer
533 views

pdf2djvu conversion of all files in a folder

Need to convert hundreads of pdf files across several folders. pdf2djvu gui is junk on windows and always crashes after a couple of conversions. Taking this code of which I am working from for file ...
1
vote
1answer
80 views

batch rename with id shifting?

I need to batch rename bunch of files with id in name, adding a constant number to id <id>-xxx.txt => <id+shift>-yyy.txt Any ideas how to make it? Some awk maybe?