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

2
votes
1answer
160 views

Clean up filenames using data from a text file

I need to clean up a bunch of folder file names. Possibly even the file titles as well. I was currently using this Perl script to do so but I ran into some problems. If the file name already has ...
2
votes
2answers
173 views

Automatic lowercase renaming -Windows

I'm looking for a way to bulk rename some files, letting me decide some specific words which will always go in the case I select. Specifically, I want to be able to tell the program I want all ...
0
votes
1answer
1k views

Automatic rename computer based on mac address

How to automatically rename computer host / name based on it's MAC address? I have 40 PC's and I need a script to rename them automatically at logon after I use ghost. Win7 environment.
5
votes
1answer
354 views

How can we insert multiple objects with the same name into the Windows Recycle Bin? [duplicate]

I want to understand why objects in the Recycle Bin don't need to be renamed when two or more objects have same name. In other places, two objects cannot have the same name: we are forced to rename ...
0
votes
1answer
177 views

Regex: Is there a character for increasing digits in PCRE?

I am using a PCRE compatible file rename program. Is there a character or pattern I can type in the "replace" field of the program to tell it to append numbers at the end of file names and that they ...
1
vote
1answer
579 views

Copy files and rename them by creation date

i have a few directories (1 level) that were added to my server in specific times. the problem is, they are named as a random hash. would it be possible to copy them somewhere and rename by the ...
2
votes
3answers
3k views

How to batch rename and remove last characters

In Windows XP, I'm trying to figure out how to batch rename and remove the last characters of filenames. Example of removing last 4 characters before file extenstion: file.doc.pdf --> file.pdf I ...
-4
votes
2answers
109 views

How do I change the name of a computer

I took my computer to a technician to remove a virus. When re-installing Windows 7, she named my computer incorrectly. How can I change the computer name (not the username)?
0
votes
1answer
338 views

Renaming multiples files with only a part of the original file name

I want to rename 40 png files in one folder, they have very long names. They are named serially like this, "blah...blah...blah160.png", "blah...blah...blah200.png" i.e. after 40 alphanumeric ...
8
votes
3answers
13k views

Add text to end of filename (but before extension) using batch file

I have a list of files which are in the format on the left. I want to append a string to each file name, but before the extension, as shown: File 1.txt -> File 1 version 1.txt File 2.txt -> ...
0
votes
0answers
502 views

Rename PDF file using its metadata

When I download a paper from Google Scholar it has a nonsense filename. Is there any way to automatically rename filename of a PDF file to its title? I would like do this using context menu in Windows ...
3
votes
2answers
4k views

Renaming with exiftool: how to deal with missing tags?

I'm dealing with an unorganized, big group of media files, captured using several different cameras and camcorders, and I'd like to use exiftool in a bash script to rename each file with its creation ...
-1
votes
1answer
494 views

Bulk Rename from list of file names

I have a list of random file names. I want to use this list to rename all files in a particular folder. The folder contains the files: Mike.exe Josh.exe I want them to be renamed using names from ...
1
vote
0answers
624 views

Can't rename folders or files on mobile devices

Since Windows 8 is running on my notebook (clean install, no upgrade), I can't rename folders or files on mobile devices running Windows Mobile or CE and connected with ActiveSync (via USB) anymore ...
0
votes
2answers
221 views

Command Prompt being Illogical? Want to add numbers using Rename

My camera only numbers photos using 4 digits, but I am now well into the 5 digit realm. So for thousands of photos, I would like to add a fifth digit. E.g. rename IMG_2450 to IMG_12450. I did this ...
0
votes
2answers
1k views

How to rename files based on timestamp, with batch script?

Suppose I have 10 files generated by the system every day under D:\Temp. The names are RANDOMLY generated. Assume I need to rename the oldest one to be 'aaa', the second oldest one to be 'bbb', then ...
1
vote
1answer
57 views

Why can't I view this image?

I downloaded an image (JPEG) and gave it a long name for it. Once it was downloaded, I was able to give it a long name. Today, when I renamed the folder where I had saved that jpeg file, the image ...
1
vote
2answers
408 views

How to rename some files according to their timestamp

suppose I have 10 files generated by the system every day under D:\Temp. The names are RANDOMLY when generated. Assume I need to rename the oldest one to be 'aaa', the second oldest one to be ...
1
vote
3answers
535 views

Rename recursively files, while keeping the extension

I have a bunch of directories that each hold one *.txt file in it (and other non *.txt files). I'd like to rename those files recursively from the command line, basically *.txt to info.txt. So all ...
1
vote
3answers
1k views

How to rename multiple files in bash (not by pattern, but prompting for each new name)?

I want to rename all files in a directory. The new names don't follow any pattern, so I can't use rename. Is there any efficient way to do this, so I won't have to use mv foo.txt bar.txt for every ...
3
votes
3answers
675 views

Linux GUI Regular Expression File Renamer (with substitution)

I have folder with several hundred files named like this: 010203.txt I want to rearrange the file names so that last two digits are moved to the front like this: 030102.txt I want to avoid writing ...
18
votes
5answers
2k views

How to simultaneously rename a file in MS Office and delete old version?

In Microsoft Office, when wanting to save a file to a different file name without keeping a copy of the previous file name, doing so requires two steps: First, File -> Save As... and select the new ...
31
votes
4answers
2k views

How can I rename a file whose name is in itself a full path (e.g. begins with “g:\”)? [duplicate]

Inadvertently, I have created a file named g:\filename.csv on Windows XP through a Python script. Note that g:\filename.csv is the filename. Actually it is saved on the F: drive. I can't rename it ...
3
votes
3answers
448 views

Can't delete file with foreign letters

I have a file: På hjul.mkv When trying to move or delete file I get rm: can't remove 'På Hjul.mkv': No such file or directory The same thing happens when trying to issue $ rm *P* or the like: ...
1
vote
3answers
5k views

Rename a question mark (?) in filenames

With rename it is possible to bulk change filenames. I managed to get rid of all + with this command and replace them with underscores: rename 's/\+/_/g' * I could change normal letters like a to ...
0
votes
1answer
1k views

How can I rename a corrupt file without using CHKDSK?

How can I rename a corrupt file without using CHKDSK? It's a remote PC and I am not allowed to reboot it. Is there a way to fix or rename the file without rebooting?
0
votes
0answers
1k views

How to move a file when “the folder or a file in it is open in another program” [duplicate]

I am trying to rename a folder, but I'm getting the following error: The action can't be completed because the folder or a file in it is open in another program. Close the folder or file and try ...
1
vote
1answer
288 views

Rename filenames inside a RAR before extraction?

I have several files inside a RAR that have the same filename. So Im thinking I should either: Rename them inside the RAR before I extract them OR Extract each file into a separate folder (so they ...
2
votes
1answer
10k views

DOS command to rename with part of the original file name

I have many files named like this: YYY.XXXXXX and i need to write a DOS batch command to rename like this: YYYXXXXXX.ZZZ YYY and ZZZ are fixed string, only XXXXXX is variable. tried this with no ...
2
votes
2answers
4k views

Renaming multiple files which match UNIX find keyword

I have the following output from find command for finding files containing yyy in name: ./plonetheme/xxx/yyy-logo.png ./plonetheme/xxx/profiles/default/plonetheme.yyy_various.txt ...
1
vote
2answers
136 views

change the name of my computer

When I received my laptop as a gift from my boyfriend I was showing my appreciation by naming it Heman's Woman, however, now that comes up when I upload files. I have the workaround for it so that ...
1
vote
3answers
2k views

Batch rename files in linux using folder name

I have a load of directories (2005 - 2012), each with files (01.jpg - 100.jpg). If I wanted to rename all the files into the base directory, renamed to, for example, Folder 2005 - 01.jpg, what would ...
0
votes
1answer
125 views

Unselect the file type when renaming files in XP [duplicate]

In Windows XP the file extension gets selected when renaming a file. If I choose to add that extension to the Known filetypes, it doesn't show the extension but the file type still changes. For ...
1
vote
4answers
2k views

Batch renaming of files using regular expression in Unix

I have several thousand files of the form: [8-digit number]_[number I want]_S60491_I129111.dcm. I wish to remove everything except the number I want, and use that as its name. In Ruby, I can get to ...
3
votes
1answer
2k views

Append to start of filename

I'm trying to add the word [Replay] to all mp3 files in a folder using a batch file like so: @echo off for %a in (c:\folder\*.mp3) do ren %a [Replay]%a But it wont rename the files. all the ...
1
vote
2answers
1k views

Batch capitalise all folders, subfolders and files within

I am looking to rename all directories on a certain hard drive (not C:) by capitalising the first letter of every directory (so: \images -> \Images). Unfortunately I have not enough experience to ...
1
vote
4answers
3k views

Using PDF MetaData to rename PDFs in MAC OS X

I have a number of PDFs that I downloaded from JStor. They come with unhelpful numeric filenames, but often there is at least a title if not the author in the metadata. How do I batch rename a number ...
2
votes
2answers
2k views

Mass file renaming in Bash but keeping a section of the file name

I have a large number of .jpg file that have extraneous data ahead of a file id that i need to have removed to better set up my file structure for a later project. How can I do a batch rename in ...
4
votes
0answers
47 views

Turn off file extension rename warning on Windows XP [duplicate]

Possible Duplicate: Turn off change file extension warning in Windows 7 I'm so tired of hitting the Yes button on a procedure that would be easily revertible if I made a mistake. I rename ...
2
votes
3answers
3k views

Add folder name to beginning of filename

I have a directory structure as below: Folder > SubFolder1 > FileName1.abc > Filename2.abc > ............. > SubFolder2 > FileName11.abc > Filename12.abc ...
2
votes
1answer
2k views

“mv: cannot stat file” in for loop

I wanted to rename a lot of files with a pattern so I tried this for loop: $ for f in *; do mv \""$f"\" \""HouseMD-S06E${f#*Episode }"\"; done But I got this error: mv: cannot stat `"House MD ...
1
vote
3answers
565 views

Rename folder using script, variables from excel doc

Linux File System I have a directory with 1500 folders. I am looking to use an excel document that has the 1500 folder names in one column and a unique id in the next. I am looking to script it so ...
1
vote
2answers
231 views

windows rename command to rename file.a.b to file.b

I have a few folders with hundreds of html files. The file name should have been .htm but it is .asp.htm and it does not run. It is plain html file and there is no asp code. So, I tried to rename the ...
0
votes
2answers
402 views

rename command windows to rename *.a.b to *.b [duplicate]

Possible Duplicate: windows rename command to rename file.a.b to file.b I have a few folders with hundreds of html files. The file name should have been .htm but it is .asp.htm and it does ...
1
vote
1answer
3k views

Rename every file in a directory to remove part of filename [duplicate]

Possible Duplicate: Mass Rename Files with bash I have a directory full of files with names like this: 1418450360_72733601001_th-72713048001.jpg?pubId=1418450360 ...
0
votes
2answers
1k views

Remove chinese characters in foldername

I am running windows server 2003 and I need to find a way to mass rename folders that contains chinese characters. Basically I want to remove chinese characters but if I remove it then the folder name ...
1
vote
1answer
475 views

Renaming multiple files in various folders to the same name in W7

I have a bunch of directories, each one contains exactly 1 file named folder.jpg. What I would like to do is to rename all the files cover.jpg, but when I do search on *.jpg and try to rename, it ...
8
votes
3answers
2k views

Why can I rename a running executable, but not delete it?

Everything is in the title, but more officially : Why does Windows let me rename a running executable, but not delete it?
3
votes
2answers
2k views

MP3 file recognition, tagging, renaming [closed]

I have a bunch of MP3s with nonsensical/incorrect file names and only a few tags. Is there software out there that will read each file, find out the right tags, replace them and use the tags to make ...
2
votes
1answer
948 views

Renaming files according to the folder they're in

I have hundreds of folders named after movies. In each folder there's a .mkv file (or .avi, .mp4), named differently. In each folder there's a folder.jpg. I'd like to rename each video file so that ...