this is a perl tool that can be used to rename several files using Perl expressions. If you will ask about renaming several files, either use the filemanager you are using, ie. Nautilus, Nemo or the command-line tags.

learn more… | top users | synonyms

0
votes
0answers
13 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
0answers
26 views

Batch Rename Directories according to a specific pattern? [duplicate]

I have a lot of directories of the form ABC (1234) DEF. I would like to rename all these directories into the form of ABC (1234) . Can anybody suggest some methods? Edit: For eg. Graham (2014) ...
1
vote
1answer
28 views

Renaming multiple directories adding string after pattern

I have some directories that begin with the date. I want to include a string (name) after that date. How can I do it? - rename 's/.*-..-../(name) /' * replaces the date but I don't want to replace ...
0
votes
2answers
30 views

How to replace symbol in multiplefiles? [duplicate]

I have many files in directory(with folders so i think solution must be recursive in deep) root-folder file-1.png file-2.png file-3.png file-4.png file-5.png folder-1 file-1.png file-2.png ...
5
votes
2answers
213 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
3answers
125 views

Rename Files & Folders With Special Characters

Struggling with this one and Googling it doesn't seem to be giving me solution that works. I have a folder named... file å?? name.txt for example and to avoid problems, I want to rename it however ...
0
votes
2answers
43 views

Rename great number of files in ubuntu terminal

I have some files which was written as : test_026542_time0663550.5.jpeg and I would like to rename as test_0663550.jpeg in order to classify easily by order number because I have some errors with the ...
2
votes
2answers
51 views

Rename multiple files remove all characters

How can I replace this [www.Example.com]Name-episode-77.mp4 FGBs episode 3 dks.mp4 to HxH 077.mp4 HxH 003.mp4 *Files name doesn't follow exact pattern I want to :- Remove all characters and ...
0
votes
4answers
73 views

Renaming bunch of files, but only part of the title

I need to rename a bunch of files (about 167k), and only part of the title in each file. From: Aaaa.bb - 2 tag tag_tag 9tag Aaaa.bb - 125 tag_tag 9tag Aaaa.bb - 3567 tag 9tag To: Aaaa.bb - 000002 ...
0
votes
1answer
76 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 ...
0
votes
1answer
20 views

Problem with rename and mask the point

Lets assume that I want to rename a file: "topography_9x9._001.png" to "topography_9x9_001.png" I would use rename -n s/9\./9/g topography_9x9._001.png renamed as topography_99_001.png Why ...
1
vote
1answer
125 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 ...
1
vote
3answers
876 views

Remove Leading or Trailing Space(s) in File or Folder Names

I worked out a neat way ro get rid of duplicate files. You know, the ones that contain "(1).", "(2).", "(3).", etc. in their names. In a terminal window, at the command line, you type in "rm ...
1
vote
1answer
30 views

Rename *FINAL.mkv to *.mkv keeping original “*”

So I have a bunch of files created with the name *FINAL.mkv and I have a (1st) script to remove all the files except files with FINAL.mkv I need help renaming the new files back to the original ...
0
votes
2answers
50 views

Delete first part of file names

I have a directory full of files foo_num.txt. I'd like to rename all to num.txt (that is delete the "foo_" part). Can I do this in one line?
0
votes
1answer
88 views

Real-Time Volume Leveling & Audio Outputs

I've been looking around for something like this, but the only solution I found here only works for one output, and is very inelegant. I want something that will raise quiet sounds, lower loud ones, ...
2
votes
2answers
87 views

Renaming (.filename) file to original names

I'm trying to revert a change I made via rename. I was renaming files in a subfolder, then without thinking, tried to clear the .. from names using: rename "s/.././" * Now I have a folder of 600 ...
2
votes
3answers
549 views

Renaming files by their modification date

I've got some (96) images, that I need to rename. Every program or script I've used is automatically sorting files by their old name, but they need to be numbered in modification date order. Example: ...
0
votes
0answers
81 views

Rename Files To Be Windows Friendly

I am having difficulty trying to create a back up of my personal files on Ubuntu as I am installing windows on my laptop (the restore disk will likely wipe the ubuntu), and I am trying to move about ...
0
votes
2answers
38 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
291 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 ...
0
votes
0answers
33 views

How can I make home/username.backup-2015-06-09 into home/username?

While installing a new package, the backup of the username directory was autmatically created. It would seem the installation indeed caused a problem, because afterwards there were no visible files in ...
0
votes
0answers
331 views

Wget and delete file on url

Please assist. I need to know how to go about getting a file from my url and then deleting that file from the server. More detail. My script will do a wget from my server and put the file locally ...
3
votes
2answers
3k views

How to specify a filename while extracting audio using youtube-dl?

I can create an mp3 of a YouTube video with the following command: youtube-dl --extract-audio --audio-format mp3 http://www.youtube.com/watch?v=rtOvBOTyX00 It creates an mp3 with the following ...
2
votes
2answers
249 views

Rename file which uses the first 2 letters of every word

I'm currently using a simple script for renaming: for f in *.mp4; do echo mv $f $RANDOM$RANDOM$RANDOM.mp4; mv $f $RANDOM$RANDOM$RANDOM.mp4; done But instead of using the $random, I would ...
1
vote
5answers
106 views

Delete pattern of names from files [duplicate]

I downloaded some files with youtube-dl. The name is always like this foo - baar -PSUHDUWHDAIHDWU.ogg/mp3/... How can I remove this random letters (cut the last '-*') at the end from all files of a ...
0
votes
2answers
103 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
191 views

Ignoring files while updating

I did the following commands: sudo rename 's/\.list$/.list.disable/' /etc/apt/sources.list.d/*.list sudo apt-get update sudo aptitude -f install libgl1-mesa-dri:i386=9.2.1-1ubuntu3 ...
3
votes
2answers
271 views

How to replace filename whitespace with underscore? [duplicate]

I have a routine need to replace filename whitespace (space, period, hyphen, etc) with underscore. Normally, it seems faster to brute-force it with rename than to write a script. Couple of months ...
4
votes
2answers
359 views

How can I batch rename filenames in the console

I have a great number of files whose name is "img800400_497708.307247.png", and I would like to change all dots (periods) to an underscore using the console. How can I do that?
2
votes
2answers
72 views

Is it possible to undo a file rename using Nautilus?

Sometimes I want to rename a file that has quite a technical, complicated name by appending a date or some other information to it. Because the name can be complex, it can be problematic if the name ...
0
votes
0answers
18 views

Rename Command Line - Ordered list [duplicate]

I wish to batch rename a list of files in Linux command line, but I can´t create a ordered list filename such as 001photo.jpg, 002photo.jpg, 003photo.jpg and so on. I am using the rename command ...
4
votes
2answers
108 views

Rename all file extension in directory

I am new to scripting, and I have a directory with all files named num.pdb.ostat. I would like to rename all num.ostat (that is deleting the .pdb in all). For a single file this works: mv 2.pdb.ostat ...
0
votes
1answer
50 views

How to make it possible (in Ubuntu 14.04) to change name of a file with just 2x clicking on it?

How to make it possible to change name of a file with 2x clicking on it (like in Windows), without right-clicking and then 'rename'?
1
vote
3answers
159 views

How to rename multiple files like in windows

I have a direcotry of songs all of which are from the same singer. I just want to rename all the files of the directory as: SingerName(1) SingerName(2) SingerName(3) ... just like we coould do it ...
0
votes
2answers
64 views

Not renaming a folder/file via terminal

mv "old location" "new location" mv /home/user/my_static /home/user/static = just old folder copied into new folder. Am I missing something completely obvious? ( I am reading the Linux tutorials ...
9
votes
2answers
385 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
526 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 ...
2
votes
2answers
322 views

How to delete part of a name of 195 diffrent files in one folder?

I have 195 files in one other folder. Every single one has a combination of numbers and letters in [] brackets in front of its description. Example: [12hjk534m45] description. Is it possible to ...
1
vote
2answers
262 views

Add Prefix name in a file in Perl Script

I am trying to write a perl script to add the prefix name on the file (~100 files), but i am failed to get it done. Example case that what I means: abc.jpg change to NYear_abc.jpg def.jpg ...
0
votes
1answer
345 views

Renaming file from UI

I can not rename files from the UI on my Ubuntu installation (14.10), it does, however, work from the terminal with the mv command. What happens is: when I right click on the file, then choose ...
2
votes
1answer
224 views

Rename all files in subdirecories

I am having a problem writing a script for mass renaming of files in subdirectories. I have a folder with multiple subfolders, and those subfolders have multiple files that I need to rename. This is ...
3
votes
7answers
2k views

rename multiple files with delimiters

How could I rename multiple files like, IonXpress_049.T11014.R_2014_11_13_11_26_35_user_PR2-41-Pooling0026_3140_13112014.bam ...
5
votes
2answers
2k views

How to rename file extension to lowercase?

I know this question has been asked (and answered) before, but it seems my situation is unique, because I cannot have any of the solution to work. Running, I need to rename all my photos from *.JPG ...
2
votes
3answers
389 views

Rename multiple files whose names include '*'

I have a set of files whose names contain the character *. For Example, a file name could be ***abcdef. I want to change this file name to 3_abcdef, replacing the * with the number of * that were ...
0
votes
2answers
477 views

Command line file rename with date and time

I want to do a weather cam web page I have the command line to take the photo from the webcam then upload it via FTP but I want to do a backup of the photo with time and date as the file name so ...
2
votes
2answers
509 views

lowercase to all files in a directory expecting to undo it at some point

Okay, so I want to batch rename files (and files within subdirectories) in a directory to lowercase, but I also want to undo that at some point. Should I store their real names somewhere so I can go ...
0
votes
1answer
8k views

How to rename a directory in Ubuntu? [duplicate]

May I know how how to rename a directory? because I have a directory which contains more files inside. Thank You.
1
vote
1answer
300 views

Renaming multiple files

My security cameras recorder (located in distant place), FTP`s to my server video files after any event. It automatically creates sudirs with name containing date of day. Using find and ffmpeg ...
1
vote
1answer
111 views

rename multiple files [duplicate]

I have thousands of files in a directory and need to remove a word if exist but not effect other documents without the word "draft" : Currently ELC.Deeds.to.be.update-2014.draft.xls Rename to ...