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

1
vote
5answers
1k 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: $...
4
votes
4answers
665 views

How to Rename Multiple Files With Their First 10 Characters?

I am having a problem to rename multiple files by replacing the name by their first 10 characters of their old name. I tried to find the solution in internet but I didn't find the answers. Example: ...
3
votes
1answer
25 views

Undot all files and folders in an external disk

I have thousands of doted files, folders and subfolders in an external hard disk drive. I want to recover all pictures within these folders. I want to undot them all to easily navigate this pictures. ...
4
votes
2answers
922 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 ...
1
vote
2answers
72 views

Mass renaming files with special format

I want to rename several hundred files whose names are formatted as follows: A Study in Scarlet - Arthur Conan Doyle.mobi Anvil of Stars - Greg Bear.mobi City and the Stars, The - Arthur C. Clarke....
4
votes
4answers
5k 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 ...
4
votes
1answer
1k 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 ...
2
votes
1answer
64 views

How to batch rename JPEG files to image date, adding a count that resets for each day?

I'm using pyrenamer with my photo collection and it works great except for one issue. I want it to rename photos by their date taken metadata, with a three-digit number at the end. Each folder in my ...
3
votes
0answers
66 views

How to automatize media renaming in kodi

I get media files which are not indexed by kodi (running on Ubuntu 15.10) - they need to be renamed first (and then they get indexed and fully processed). I did not find any built-in solution in kodi ...
3
votes
2answers
126 views

adding zero to specific location of file names

I have a directory consists of several files. Files name are as follows; 0102920.05o 0203920.05o 0304920.05o .... I need to add "0" for all files after the first 4 numbers like; 01020920.05o ...
5
votes
5answers
3k views

Batch rename directories?

I have several directories with the format of the year, month, and day followed by a description of the event. For example: "2012 05 26 - EventA", "2012 05 26 - EventB". What I would like to do is ...
36
votes
5answers
65k views

How to change extension of multiple files from command line?

I have many files with .abc extension and want to change them to .edefg How to do this from command line ? EDIT: I have a root folder with many sub-folders, so the solution should work -r recursively....
18
votes
6answers
4k 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, ...
0
votes
1answer
58 views

How to add KRename to context menu

How do I add KRename to the context menu so I can select files and use right click to rename them from the contextual pop up? I want to do this to make bulk or batch renaming of files faster so I don'...
0
votes
0answers
34 views

How do I use the mmv utility to move an arbitrary number of files?

I have a folder with too many files, I want to move some of the files to a subdirectory -- without a script. How can I move, or copy, not all files, but the only the first n number of files? For ...
0
votes
2answers
678 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
3answers
65 views

Add the folder's name to all `.bin` files in that folder

I have spent almost one day and a half searching for this but couldn't find an answer. I am looking to add the folder's name as a prefix to all files ending with .bin in that folder. So, if the ...
0
votes
2answers
61 views

find all '&' characters in files and folders

i have a Ubuntu server with samba file sharing. i want to find all files and folders that have '&' in their name an replace it with 'and'. can any one help me on this situation. thank you all i ...
1
vote
1answer
35 views

Rename files in a directory based off of the text contained within a text file

I am trying to rename about 20 files in a directory based off of what a text file contains. I have been searching around and cant really find anything that really describes the process. All the ...
0
votes
2answers
81 views

How do I remove certain characters before or after a certain number from a list of files in terminal?

Suppose there is a list of files with the following pattern: ABC2011DEFG.txt What command should I use to remove characters before or after the number in between while keeping the file extension? ...
5
votes
6answers
18k 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. ...
4
votes
4answers
656 views

How to rename a batch of files with an incrementing number in the file name?

I want to rename batch of files named Example1.java, Example2.java to Q1.java, Q2.java at once. Is this possible?
0
votes
2answers
81 views

Replace part of filename with string in subdirectories and current directory

I want to be able to do this: rename string1 to string3 and add string2 to the beginning. Sth like Fish renamed to Great_Bear if string Fish is found and Great_ = string2. So far I have this: ls ...
3
votes
0answers
24 views

How to batch rename linked files [duplicate]

I created and linked 50+ files but now they have in the name Link to xyz So what I want is to remove Link to from the all 50+ files names
0
votes
1answer
82 views

how to rename files in multiple folder without renaming directories?

I have a bunch of directories (e.g., drawable-hdmi, drawable-en-hdmi, drawable-en-xhdmi) and so on for different resolutions and localisations. each of them contain just one file with random name. ...
1
vote
1answer
490 views

Bash Script: Batch file rename to remove/change all characters illegal under a windows filesystem

I need an assist here, got a project going where we need to modify file & folder names within a specific directory in order to remove or replace any and all characters which would be considered ...
0
votes
0answers
26 views

Rename list of files: add trailing zeroes to numeric file name [duplicate]

I have a list of many files all names consist of a number (up to 4 digits) and any file extension like .txt or .gif. But the numeric part has only as many digits as needed, e.g. 42.txt, but I want ...
5
votes
2answers
225 views

question about using the command rename

I use the command rename to rename multiple files at the same time as follow but how i can make more than one change in the same command i.e. change 1 to A and change 2 to B * UPDATE 1 * i used ...
1
vote
1answer
70 views

Can you change multiple dissimilar file names?

I am trying to rename a lot of music files. The files contain spaces and capitals and whatnot and I want to replace the spaces with underscores and remove all capital letters. Is there a way to do ...
1
vote
1answer
92 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
1answer
84 views

Sequential renaming of files

I found an answer for zero-padding numerical filenames which works fine for renaming filenames as follows : 1.jpg > 00001.jpg 2.jpg > 00002.jpg . . . 9.jpg > 00009.jpg That uses the ...
2
votes
1answer
214 views

batch rename zip files based on contained file names

I've got a directory with 15000 zip files. I'd like to rename all files which, when unzipped, contain a file of the form YYYYMMDD_IPC.csv where YYYYMMDD happens to be a date but for the purposes of ...
5
votes
1answer
312 views

How to decrease the file name by 1 in ubuntu

I have around 200 .png files in my folder, naming like - 02.png 03.png 04.png ... 201.png As you can see I dont have 01.png so I want to rename the all files decreasing by one, to make it like - ...
-3
votes
3answers
344 views

Rename multiple files in terminal [duplicate]

I have 40 mp4 files in a folder. Every file starts with video_. Every file is of format video_*.mp4. I need to rename all the files with video_ removed from the begining of every file. How can I do ...
1
vote
1answer
137 views

How to rename files in a directory by adding a value to current name?

I have multiple files in a directory like 1.jpg, 2.jpg, 15.jpg etc. I want to add a specific value to these names -for eg: 10, so that the files are renamed to 11.jpg, 12.jpg, 25.jpg etc. Is there ...
0
votes
1answer
181 views

Rename all .htaccess files on server

On my localhost I have enabled htaccess evaluation in apache2.conf and now I keep getting 500 (Internal Server Error). I think I have some faulty .htaccess files that not being evaluated caused no ...
0
votes
1answer
49 views

renaming files script error

I wrote code to change the name of bulk of file it should replace spaces with underscores and lowercase all the file name .. this is the code for file in *; do mv "$file" `echo $file | sed -e 's/ ...
2
votes
1answer
351 views

Rename hundreds of directories [duplicate]

I have more than hundred directories named SP_[number]_date. I'd like to rename all to just SP_[number]. I can only figure out how to do that by mv SP_1_date SP_1 but that will take ages. Can I ...
4
votes
1answer
57 views

Recursive directory renaming

I need to recursively append the same suffix to all sub-directory names in a directory. What is a simple and safe way to do this?
12
votes
7answers
982 views

Renaming files to add a suffix

I need a command to rename all files in the current working directory, in a way that the new filename will be the same as the old, but including a suffix corresponding to the number of lines of the ...
0
votes
2answers
39 views

Rename command can't handle [ and ( characters?

I have a lot of files with [] characters in them and I wanted to remove them with the following command: rename 's/[xy]/xy/' *
4
votes
4answers
297 views

how to change file extensions in a directory [closed]

I have many files in a directory having extension. .text(2) .text(1) I want to remove the numbers from extension and output should be like .text .text Can anyone please help me with the shell ...
3
votes
4answers
328 views

Append something to files that don't end with “]” recursively

I am trying to append [Full] to all files that don't end with ] in all subdirectories recursively. Example: Untold Story.wav should be renamed to Untold Story [Full].wav Untold Story [Instrumental]....
2
votes
2answers
4k views

How do I batch rename a specific file inside multiple zip archives via the command line?

I have about 200+ shareware files in zip format that each contain a file called "FILE_ID.DIZ". I need to know how to rename each instance to lowercase "file_id.diz" without doing it manually - I've ...
0
votes
2answers
119 views

Renaming a full anime series

I've this Naruto anime downloaded on my pc. They are named like "NARUTO 50 — The Fifth Gate- A Splendid Ninja is Born_low.mp4". I want to simply batch rename them to something like this "Naruto_50". ...
1
vote
2answers
206 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/ ...
3
votes
3answers
201 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. ...
1
vote
3answers
345 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
650 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 ...
3
votes
2answers
826 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. ...