In computing, rename is to reassign the identifying value (or name) of an object, whether it be files, folders or other types of data.

learn more… | top users | synonyms

0
votes
1answer
16 views

Accidentally renamed File in “/usr/sbin”

History wont work, since it happend in a GUI. The content of the File is: #!/bin/sh -e if test $# -eq 0 then echo usage: $0 shellname [shellname ...] exit 1 fi file=/etc/shells # I want ...
4
votes
2answers
55 views

Replacing certain word in text file using Batch file

I am trying to use a batch file to determine the currently installed drive letter and to replace a keyword in the ini file with the drive letter. Basically the ini file contains: [app] ...
3
votes
1answer
32 views

rename(1) a set of files beyond the current directory

The rename command in Ubuntu 12.04 (manpage says it's part of perl v5.14.2 2012-03-23) works well in a single directory, but I want to use it on subdirectories too (or, more generally, on a list of ...
0
votes
2answers
29 views

Simultaneously moving and renaming files in Red Hat

I'm running Red Hat Release 6.5 (Santiago). The problem I'm facing is that I have a bunch of files in the following directory structure: temp2 ├── ABC │   └── temp2 │      └── temp2.txt └── DEF    ...
0
votes
1answer
46 views

Rename multiple files in folder

I have some files in my folder like: asd55.png qwe55.png zxc55.png I want to remove the 55 and get the result: asd.png qwe.png zxc.png I tried with: ren *55.png *.png but doesnt work. NOTE: ...
0
votes
2answers
30 views

Batch rename directories in OSX

I currently have a large set of directories containing photos. The directories are currently named in the format of yymmdd_text. I would like to rename them all to yyyy-mm-dd Text (notice capitalized ...
0
votes
0answers
62 views

Having trouble renaming a too long file in Windows 8.1

there's probably a quick solution to this problem. I was downloading some PDF files for my next semester and wanted to name the files their full titles for later reference. That ended up with one of ...
0
votes
2answers
74 views

How to batch rename files on Ubuntu?

I found rename on Ubuntu 10 doesn't support regex unfortunately. I need to rename files containing _thumb to _t leaving the rest as is. Example: rename SLN0097H_thumb@2x~ipad.JPG to ...
0
votes
1answer
41 views

Can I rename my “Recyle Bin” folder in WinXP?

I want to rename my "Recycle Bin" folder on my Windows XP system so that it's like the "Trash Can" of my Ubuntu's. I cannot find a simple "Rename" command on right-clicking. I might have to head ...
0
votes
0answers
38 views

Windows 7 rename files by manually dragging into place

I need to manually rename a bunch of photo files so that they make more sense in sequence (I am an artist and I need to put the reference photos in the correct order so that the model appears to be ...
0
votes
0answers
15 views

name change will not allow lap top to reboot

I have a Samsung N150 laptop. I renamed the full computer name and username (both are the same), required to restart, when I restarted I get an error "incorrect Disk, remove and try again". same error ...
0
votes
1answer
171 views

Batch rename all files in folder to uppercase

Is there a way to rename all files in a specific folder to uppercase? I found this code but it renames files to lowercase, can it be modified to change to uppercase instead? for /f "Tokens=*" %f in ...
0
votes
2answers
52 views

Renaming files from a list of filenames

I'm still very new to shell scripting so I'm sure this command is all kinds of wrong. I am trying to rename a folder of files to the names in a txt file. The precondition is that the filenames.txt and ...
1
vote
4answers
66 views

How to rename a lot of files in bash shell?

Sorry for the question. I searched the internet a lot, but couldn't find an answer which worked (though there were a lot of suggestions). So, I want to rename A LOT of files. Writing all file names ...
4
votes
1answer
156 views

Bash regex to rename set of files

I have to rename a set of files, using the rename command (with a regular expression).  After some tries, I'm not able to find an expression that gets the expected result. I've got a file pattern ...
1
vote
1answer
84 views

Mass rename of pdf files using command prompt [closed]

I have a client who is using there own CRM and file naming structure and I need to change the file names to match the data in their system. All of the pdfs will be in the same folder. What I would ...
0
votes
0answers
31 views

While renaming a folder the entire name is automatically selected again

As far as I can tell, this question has been asked on two other occasions, however they haven't been answered conclusively and I'm hoping someone has a more definitive answer / solution. For ...
1
vote
2answers
685 views

The file name(s) would be too long for the destination folders but I can't edit it [duplicate]

I want to move a file but its filepath/filename is too long. Its context menu only shows a reduced list of options and rename isn't in the list, pressing F2 after selecting the file in the file ...
1
vote
1answer
81 views

batch script to swap words / rename files

could someone help me please? I have win xp and bunch of e-books named like this: Title - Name Surname.mobi and I need a BAT file to get: Surname Name - Title.mobi I am almost able to swap what´s ...
0
votes
0answers
20 views

Change a part of a filename with random numbers

In my work i need to rename a filename everytime i want to do a server test, for example SAMO8608157H6AA1D15261.dec, i do need to edit the "1526" part in to the next digit or random number respecting ...
0
votes
3answers
113 views

Batch Renaming files (and possibly switching parts of the name)

I am organizing 60,000+ images, and need to edit down their names. I would love to just do a batch rename, as this would likely take 60+ hours otherwise. The names are similar to what follows: ...
0
votes
4answers
206 views

Can I rename files in a directory with Vim?

If I open a directory in vim using vim . I will get a file-browser-type interface of the current directory. From there I am expected to browse to a file, and then start editing it. I want to use ...
1
vote
1answer
44 views

How to use Massren with Vim?

I want to use massren renamer in vim in order to rename files within the texteditor. First, I used this command within Vim to set Vim as default editor for massren :! ...
0
votes
1answer
182 views

How can I change the file name of the Program Files (x86) folder? [duplicate]

Let me stop you before the "you shouldn't do that" and "you will corrupt your file paths". I know what I'm doing, but I'll give you the story to convince you. Basically, my hard drive is failing to ...
0
votes
0answers
27 views

Add “rename” to windows save duplicate dialog?

Error message Copy File There is already a file with the same name in this location. Click the file you want to keep. Copy and replace. Don't copy. Actual behavior When I download a file of ...
0
votes
0answers
28 views

user tries to rename a series of files in a network folder the letters become capitalized after a few files are renamed

I have run across a strange issue and can’t find anything online about it. When a user tries to rename a series of files in a network folder, the letters become capitalized after a few files are ...
2
votes
2answers
530 views

How to bulk rename audio files so that the file name matches the title metadata (preferably using Foobar2000)?

I have some audio files for which I used Foobar2000 to get the proper tags (Title, Artist, Album, etc), so now they have their proper titles when loaded in Foobar and other players, but they still do ...
0
votes
2answers
649 views

Problems adding a prefix to bulk filenames using a batch file

I am trying to add a prefix to all filenames in a folder. After a couple of days of searching the internet I actually came up with something that almost work perfectly: echo Please specify ...
0
votes
1answer
26 views

Needing advanced ID3 tag handling for specific situation

My situation is probably quite rare and complex, so I'll explain it in detail. Many years ago, I put together a hand-selected collection of MP3s, which ended up taking a month or so and is now at ...
0
votes
3answers
87 views

Unix - Rename a file by removing last 2 instances of a character

I need to rename some files on Unix. I want to truncate the last two underscores and anything that follows them. For example: abc_def_ghi_121222_as.csv --> abc_def_ghi.csv ...
0
votes
0answers
41 views

Combine .hash files into single .hash file

I am trying to rename all the .hash files in one directory to the same name (or merge all of the .hash files into a single .hash file). I am using Kali Linux - what tool would be best to do this? Can ...
0
votes
1answer
69 views

MAC Rename files and move them automatically scripting

I want a shell script that runs on a Mac, that when ran, looks for a few things and transfers video files to a specific location on another drive. So when I put in an SD card, I want the script to ...
0
votes
0answers
189 views

Kali Linux: Renaming files in bin

I'm just curious. I want to rename files in /bin such as - ls --> als //after I change it, the ls command no longer works and I have to use als instead - adduser --> aadduser - chmod --> achmod so I ...
1
vote
1answer
422 views

How to rename actual portable HDD *device* name? (not volume name / label)

I have a few Toshiba Stor.E drives connected to my pc for backup purposes, then shipping them to differen physical locations. But when working with a few of them I have to check many times if I use ...
-1
votes
1answer
75 views

change descriptor when renaming file linux [closed]

I got a programm in CentOS which writes its log to a file. When I rename it, the programm still writes to it. Is there a way to change that file descriptor without restarting the programm?
1
vote
2answers
40 views

Need to rename many files on Ubuntu

I have around 1000 files named "Home Movie - 01 - First Birthday" and "Home Movie 02 01 12" I need to rename these to just "Home Movie". Is there any way to do this? Running Ubuntu 12.04 Thanks, ...
1
vote
0answers
500 views

ethernet interfaces are sometimes renamed to 'renameX' on startup

I've installed a recent daily build of Ubuntu Trusty on several HP dl380e 2U servers. These servers have 4 x 1Gb onboard NICs. In addition, I've installed a PCIe 2 port 10Gb NIC in each server. The ...
0
votes
1answer
49 views

Renaming all files of a particular type to lowercase batch

In this link Is there a way to batch rename files to lowercase? there is a command given for /f "Tokens=*" %%f in ('dir /l/b/a-d') do (rename "%%f" "%%f") This works when i want to convert all ...
1
vote
1answer
59 views

Rename folder in Windows 7 created in Linux with '?' character

I have a folder in a external hard disk created from linux. When I try to open that directory from Windows, I can't do it. The name of the folder is 2013-? with a special character who in Windows we ...
1
vote
0answers
44 views

Why is changing the shortname not recommended procedure?

Some Background I had an old iMac with Snow Leopard on it. It was so outdated I zeroed out the drive and reinstalled Snow on it (I'm still waiting on Mavericks to download... sigh). As I was setting ...
2
votes
5answers
4k views

Renaming multiple files inside a folder using Windows batch commands

This is taking the post located here and spinning things up a bit. As typical, I'm trying to rename several images inside a folder to be the name of the folder they're in and then add the suffix ...
0
votes
1answer
347 views

Rename files by md5 checksum

What program can I use to rename files with their calculated md5 checksums? GUI or CLI Programs for Linux or Windows or scripts for DOS or the Linux terminal.
0
votes
3answers
133 views

Renaming files with the aid of a text file [closed]

I am trying to rename a load of files but don't know how to incorporate the use of a text file with the new names in it. I have a number of video files I want to rename, using a new list in a text ...
0
votes
1answer
35 views

How to rename a set of files in Ubuntu

I have a Tapestry project where I have language dependent properties and other files ls -alR | grep '_en\..*' So the above gives me the list of results such as Chat_en.properties User_en.vm ...
0
votes
1answer
85 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
287 views

Can't rename volume group in linux that had hyphens/dashes in name

I made a typo when I created an LVM group under Centos 6.4. I'm trying to rename using the syntax vgrename /dev/mapper/oldVG /dev/mapper/newVG. However, both the old and new VGs have hyphens in the ...
1
vote
3answers
149 views

How to batch-rename long file names into short ones under Linux?

I have a lot of data with file name (just for example): dt_upd_global_merged_madt_uv_20100801_20100801_20110721.bil dt_upd_global_merged_madt_uv_20100802_20100802_20110721.bil ...
4
votes
1answer
128 views

Cannot rename file with tilde

I have a ZIP file with only two files in it. They are named AUSWRTX1APE1.TXT(1) and AUSWRT~1.TXT(2). My problem is, I cannot extract both files to the same (new & empty) folder. Windows complains ...
1
vote
3answers
693 views

Set name of Konsole window

How can one set the name of a Konsole window in KDE? I know that we can change the names of the tabs, and the Konsole window title is preconfigured to use the name of the current tab, but this is not ...
0
votes
1answer
59 views

rename all file names in a directory [closed]

I have say 100 files all with the same text I want to replace with something else. For example, I have the file names: blahtest blah-yes blahokay blahcool I want to replace blah with mytext. Is ...