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
18 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.
7
votes
2answers
101 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
134 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
38 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
34 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
43 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
69 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
288 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
347 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
267 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
76 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
114 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
389 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
2answers
113 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
15 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
66 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
156 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
30 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
59 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
67 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
48 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
541 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
552 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
152 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
828 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
33 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
641 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 ...
0
votes
0answers
460 views

move files and auto rename if same name | bash script find all *.extension

Something like "--auto" in: http://doc.bazaar.canonical.com/beta/en/user-reference/mv-help.html It seems a bit complicated to --no-clobber (-n) and work on return codes if [ $? -eq 1 ];then ...
0
votes
2answers
204 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
103 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
34 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
31 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 ...
2
votes
1answer
106 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
218 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
64 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 ...
1
vote
0answers
22 views

rename app stops running from toolbar

After installing some apps, I wanted them to open via the terminal. Unfortunately Ubuntu uses names for these new apps that are hard to remember. I renamed my file by: mv ¨old file directory/old ...
0
votes
2answers
85 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
1
vote
1answer
402 views

Script to rename files

I appreciate any help in advance. I have written a script to rename all .BMP files, and it seems to work, but I get the following error/message for each file: IM2019.BMP mv: cannot stat ...
1
vote
4answers
941 views

How to rename /dev/sdax(partitions) in Linux

I made a partition like /part on my machine with some important data... But I can't stand the name of it... I want a clear solution to resolve it and change the name of it to for example /test... ...
0
votes
2answers
309 views

Rename command special characters in filename

I would like to remove [] in multiple file names. I get an error when doing it with the rename command. Is there another way to do this?
0
votes
1answer
496 views

Change multiple file names in sub directories in single line

I have a directory named backup. Backup contains several subdirectories named monday, tuesday, wednesday... each subfolder contains file named filename.txt I want to change all names filename.txt to ...
3
votes
1answer
136 views

Why can't I rename a file from 'NAME' to 'name'?

I am unable to rename a file from RELEASE to release which is currently located on my USB flash drive. If I try to rename it through the file manager (Nautilus), it shows the error message as ...
3
votes
1answer
261 views

Code works in terminal but not in script for renaming (manipulate filenames with spaces)

I want to learn more so I have tried to script more than just using the terminal. I know rename and I can rename image files with rename 's/ /_/g' *.jpg but when I write it in a shell script to point ...
1
vote
5answers
251 views

Hide multiple files at once with shell script

I'm trying to hide some files with some command, I tried the rm command, but it did not work and also tried to rename but did not understand how it works. The files that I want to hide have spaces in ...
2
votes
4answers
442 views

How do I change extensions of all files in a folder to one common extension when all the files have different extensions?

I have a grader for COCI (a competitive programming contest) that reads input files (txt[number].in), compiles and runs a code (txt.cpp) and matches the result with an output file (txt[number].out). ...
0
votes
2answers
1k views

How to prevent users from renaming files while providing write permissions on Linux

For some special purpose, I want to prevent non-root users of the Linux Server from changing or renaming the filenames. However, they can modify and write to the contents of the file. How to do this ...
1
vote
1answer
2k views

Libreoffice crashes when saving document (tried deleting profile dir)

I have an .ots template file at the directory: /home/peter/Documents/Business_from_2005/Security_Web/ which was changed earlier today, from: /home/peter/Documents/Business from 2005/Security Web/ ...
0
votes
1answer
1k views

How to Rename multiple files

I have hundreds of images which I want to rename: Current name A0619101. Rename to A1906101 Current name A0825223. Rename to A2508223 Actually the first and second digits must become third and ...
2
votes
2answers
762 views

Rename files numerically (date/time order)

I have 200 files in a folder which I downloaded. I downloaded them in a certain order -- often only a few seconds apart. I would like to append a number to the beginning of each of the files. So the ...