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

1
vote
5answers
61 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
41 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
41 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
96 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
255 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?
-1
votes
0answers
23 views

Cannot create folder in desktop : permission denied

I've looked here but i only found answers about creating files/folders by terminal. My thing is directly in the desktop... I can not cretae a file or a folder. Other thing is rename and delete ...
2
votes
2answers
38 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
17 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
61 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 ...
1
vote
0answers
30 views

How to rename a USB drive after uninstalling “Ubuntu install” from it? [closed]

Running Vista Professional. I am unable to rename the USB drive. I had Ubuntu install on the drive, then uninstalled it, formatted the drive - the name of the drive still shows "Install Ubuntu" in my ...
0
votes
1answer
41 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
62 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
0answers
25 views

wmctrl: Permanently renaming a window

When i use wmctrl to rename a window (Firefox) to something else, the reload of a page or switching to a tab overwrites that name. How can i permanently rename a window? Or how could i re-rename it ...
0
votes
2answers
41 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 ...
0
votes
0answers
87 views

How can I change rename shortcut key to Enter (Return) in Thunar file manager?

Mouse hover method works for all other keys expect Enter. Editing /home/username/.config/Thunar/accels.scm has no effect and it reloads to previous values after logging in again.
9
votes
2answers
266 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
290 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
96 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
1answer
97 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
204 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
111 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
6answers
777 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 ...
4
votes
2answers
933 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
329 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
170 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 ...
0
votes
2answers
242 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
3k 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.
2
votes
1answer
161 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 ...
0
votes
0answers
18 views

Rename a loadbalancer from its cloned drive Ubuntu 10.04.4

I have 2 LVS load balancers and cloned the drive of one. The 2nd system is developing drive failure. What are the steps to rename the cloned system to replace the failing machine? In other words: LB1 ...
1
vote
1answer
90 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 ...
5
votes
1answer
206 views

How to rename the set of files with pattern

I have files which has name as following: P50_FR_8_q2_scrolls.csv Here the value 50 and 8 needs renaming & The results should be something like: P21_FR_3_q2_scrolls.csv I tired few ...
1
vote
1answer
36 views

Recovering lost folder name:

Can I recover a folder name accidentally lost in renaming? I've just done a complete installation, formatting everything, from 12.04 LTS to 14.04 LTS. The plan was to slot my Mozilla profile from my ...
0
votes
0answers
29 views

How to rename various file extension into an extension [duplicate]

I have many files in a directory with various extension (files.txt, files.html, files.jpg, etc). I need to change all the extension of these files into an extension (files.ext.backup). So, I will ...
0
votes
2answers
222 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
121 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
67 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
733 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 ...
0
votes
4answers
1k views

Changing file extention

In a folder I have a .run file and am trying to change the extension to .clu. The problem is that I have tried rename 's/.run$/.clu/' *.run But this does absolutely nothing to the file. Note: I'm ...
2
votes
2answers
267 views

Change guest username

Now, looking around on Google shows me some ways in which to customise the settings of the Guest session. But, I would love a way to change the name of the Guest account. Basically, I'm planning to ...
3
votes
5answers
2k views

Removing specific part of filename (what's after the second dash) for all files in a folder

I use the command line utility youtube-dl to download videos from YouTube and make mp3s from them with avconv. I'm doing this under Ubuntu 14.04 and very happy with it. The utility downloads the ...
0
votes
1answer
41 views

cannot rename files when saving

I am using xubuntu 13.10. Since the last update, when I am saving files I cannot rename other files, there are missing buttons in context menu like rename, cut, copy, etc... let`s say I edited the ...
8
votes
5answers
872 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 ...
1
vote
2answers
1k views

Must copy and rename file

Hi all i was asked to find the terminal command that will make a copy of a file lets call it program3.cpp and give to the copy the name homework6.cpp. After that you will have two files with ...
3
votes
3answers
152 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 ...
0
votes
1answer
36 views

Rename new files as the old ones

I have a large music collection, and a good number of playlists that I have formed over the years. All the music is neatly organised in a folder hierarchy. I have managed to get my hands on higher ...
0
votes
0answers
32 views

How to change bluetooth peripheral device name? [duplicate]

does anyone know how to change the name of peripheral bluetooth devices in ubuntu 13.10? i have a logitech audio receiver that always shows up as "(94)Logitech Adapter" but i would like it to say ...
3
votes
1answer
184 views

Capture groups are ignored when renaming files

I have a number of files in this format: ##.## - File name.mp4 I want to rename them to: s##e##.mp4 This is what I came up with: rename -n "s/^(\d{2})\.(\d{2}).*/s$1e$2.mp4/" It works when I ...
1
vote
3answers
314 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 ...
0
votes
3answers
72 views

Rename the extension of many files

I would like to rename the extension .tar?h=ocdist105&=%2Fdata1%2F4070d0f0f1d62757%2Frequested_files for just .tar I tried the command rename ...
0
votes
2answers
166 views

File could not be renamed, folder name conflicts with filename in Ubuntu 13.10

As the title says, my fresh, updated Ubuntu 13.10 install, presents a conflict with files and folders of the same name, in the same location, as shown below