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
314 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
11k 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
467 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
442 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 ...
0
votes
0answers
572 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
213 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
379 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
493 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
632 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
421 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
4k 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
965 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
277 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
9k 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
133 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
120 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
2k 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
46 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
2k 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
524 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
228 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
358 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
991 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
446 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
877 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 ...
2
votes
1answer
342 views

Increment file number using zmv

I have a set of files that are named in the vein of "some_file-nameN", where N is a number starting at 1, incrementing, and ending somewhere between 10 and 30. I now need to insert a file at the ...
-1
votes
2answers
664 views

Batch rename images numerically? [duplicate]

Possible Duplicate: Rename lots of files in one click I have thousands of images that I wish to batch rename numerically. The issue is all the dozens of images I have saved have osbscure ...
1
vote
1answer
745 views

How can I work around Windows File Protection such that I can rename a system file?

How do I use PendingFileRenameOperations to rename a file which is in use? Especially system files, like tcpip.sys. I have created a key PendingFileRenameOperations (REG_MULTI_SZ) in ...
37
votes
3answers
43k views

How does the Windows RENAME command interpret wildcards?

How does the Windows RENAME (REN) command interpret wildcards? The built in HELP facility is of no help - it doesn't address wildcards at all. The Microsoft technet XP online help isn't much better. ...
2
votes
2answers
123 views

Rename a file to move the version number from the end to the beginning

How do I rename a file in linux and take the version # from the end and move it to the beginning. For example I have a file name: Random text - text 1.1 (SD).mp3 to 1.1 Random text - text.mp3 ...
0
votes
2answers
632 views

Recursively rename all files in directory by using relative path separated by underscores

I have a directory structure like below where the structure is known, and the file names repeat themselves. I want to rename the files so they are unique, so that a/0/widgets/AL/part-1.gz becomes ...
2
votes
3answers
417 views

Batch rename of several files [duplicate]

Possible Duplicate: How can I mass rename files from the command line or using a 3rd party tool? We have several files with filenames similar to below: ...
1
vote
2answers
536 views

Renaming Nginx 1.3.5 Server: response header

In nginx 1.2 & 1.3 you can modify the source to change the name: src/http/ngx_http_header_filter_module.c (lines 48 and 49): static char ngx_http_server_string[] = "Server: Not Nginx" CRLF; ...