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

3
votes
3answers
393 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
893 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
261 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
132 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
118 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 ...
1
vote
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
484 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
220 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
330 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
921 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
421 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 ...
7
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
818 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
328 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
618 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
720 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 ...
36
votes
3answers
39k 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
121 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
611 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
400 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
513 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; ...
0
votes
3answers
5k views

Override mapped drive name using .bat script?

I have the following batch script which is successfully mapping a few of our drives for our users: @echo off net use * /delete /yes net use x: \\192.168.1.52\xrays net use s: \\192.168.1.52\common ...
1
vote
1answer
741 views

Get a colon in a Windows filename [duplicate]

Possible Duplicate: How would I go about creating a filename with invalid characters such as :?>? Yes I know it is not allowed, but I want to do it anyways. Any workarounds?
4
votes
3answers
4k views

How do I rename a User folder in Windows 7

When setting up my new computer, I accidentally gave my account the wrong name. I was able to amend the name of the user account in the control panel, but the folder the user files are stored under is ...
2
votes
3answers
7k views

How do you quickly remove underscores from folder names?

What is the easiest and fastest way to remove underscores from folder names in Windows? Running a Google search I found a VB script that automatically removes all underscores from file names in the ...
1
vote
2answers
661 views

How to automatically change file names for all file added to a directory?

I've created a folder in dropbox for all my screenshots, and redirected all my screenshots there. However the default screenshots file name are long (it contains a time stamp and I don't see how to ...
1
vote
0answers
131 views

Rename files and adding a prefix according to groups

Let's say I have files in side a folder named abc001.jpg abc002.jpg abc003.jpg abc004.jpg abc005.jpg . . . acb999.jpg Let's say group1 is abc001.jpg abc002.jpg abc005.jpg abc010.jpg and group2 ...
0
votes
3answers
8k views

Rename files in a batch file

I want to rename file1 to file2 using a batch file in Windows 7 but with no luck. Below is the batch file: @echo off c: cd\test ren file1 file2 Error message I get is syntax error. Update to ...
1
vote
1answer
190 views

Renaming Windows XP computer

I am running a Windows XP VirtualBox Virtual machine, but get the following error: The following error occurred attempting to rename the computer to "VM1": Logon failure: unknown user name or bad ...
1
vote
2answers
843 views

Change renaming pattern in Win 7

Is it possible to alter the built in mechanism for mass renaming in Win7? Lets say, is it possible to make it use a pattern like this? name-001.ext name-002.ext
0
votes
0answers
6k views

CMD - Rename Local Computer, Join Domain, Join Specific OU

Alright so not sure if this is entirely possible all in one. Situation: Brand new computer not on the domain, just a local workgroup. Want to change that computers name, join a domain, and put the ...
6
votes
2answers
4k views

Batch rename files in Linux

How I can rename images with 'rename' command from "something_full.jpg" to "something_500.jpg" recursive?
5
votes
4answers
4k views

Mass Remove File Prefix on a Mac?

How do I mass remove file prefixes in a Mac? For example, inside my folder, I have the following files: img_sometext1.jpg img_sometext2.jpg ... img_sometext10.jpg How do I remove img_?
1
vote
0answers
367 views

Auto rename files through excel sheet or through folder of these files

I have excel sheets with lot of files names like.. I want to renames all files through excel sheet and renames files itself.. Or 2nd condition is , if i rename files my self and rename in excel sheet ...
4
votes
2answers
5k views

Renaming/deleting impossible filenames in Windows 7

I have some files with 'impossible filenames'. I'm not talking about special characters or anyting, but really impossible ones. (filesystem NTFS) One file is called images\receipt.jpg (yes, this is ...
0
votes
1answer
751 views

Renaming Bluetooth devices (hard coded device names)

Is there an easy way to change the name of a Bluetooth device? Let’s say for example that you have a Bluetooth device and it has the hard-coded name Sony Bluetooth Device. Is there a way to change it ...