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
684 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
282 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
540 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
676 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 ...
34
votes
3answers
31k 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
109 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
543 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
361 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
473 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
3k 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
685 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
2answers
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
6k 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
614 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
130 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
7k 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
185 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
808 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?
4
votes
4answers
3k 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
344 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
669 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 ...
3
votes
2answers
287 views

How can I swap the names of two files on the command line?

I am working in bash under Ubuntu 10.04 at the moment, but the solution would be interesting in other environments as well (e.g. Windows cmd.exe). I would typically rename the first file with a ...
0
votes
2answers
2k views

Batch file: Change names on files with certain extensions in multiple directories based on the directory name and copy into one directory

I am all new to batch files and DOS, but I hope you can help me anyway. I need to copy files of a specific file type that are now in separate subdirectories, one such file per directory(but more ...
3
votes
4answers
7k views

How to append a string to a file name in Bash Shell?

So I am supposed to find all the files in the given directory with surffix of .C or cc, and change their name to .C.blah or .cc.blah Is there a command to do that? Or should I implement this with ...
3
votes
1answer
11k views

Recursively rename files through the command line (Windows 7) [duplicate]

Possible Duplicate: Which command can I use to recursively rename or move a file in Windows? Is there a way, through the command line, to recursively rename all .m4v files to .avi? ren ...
2
votes
2answers
1k views

How to batch rename files based on file header/metadata in Windows?

I have a directory full of randomly named files of different types, all with no file extensions. Most are images, with some videos, and some plaintext. I've used one of the Windows versions of file to ...
-1
votes
1answer
813 views

Facebook photos: batch renaming to useful filenames [duplicate]

Possible Duplicate: How can I do a mass file rename in Windows? Scenario: I work with a journalist friend who writes and photographs for travel and art subjects. He uses his Facebook ...
1
vote
3answers
1k views

Replace umlauts with regular expressions

I would like to sync several folders on my local Mac with a remote server via SFTP. As the existing umlauts appear to be problematic for my syncing software (Deltawalker), I am looking for a way ro ...
2
votes
1answer
218 views

Need assistance making a batch file for renaming files in separate folders

Ok, here's one for you. I'm trying to use a batch file to rename a bunch of files, but none of them are in the same folder as the batch file itself. The command prompt keeps telling me that the ...
2
votes
4answers
1k views

Mass Rename Files with bash

I've got a bunch of numbered files like this: file #01.ext file #02.ext file #03.ext file #04.ext file #05.ext And what I want is to make them all have three digits (two leading 0's) instead of ...
6
votes
2answers
1k views

How to determine exactly which file actions will be reverted when doing an Undo in Windows Explorer?

I had a brain fart and forgot which was the last file action I performed in Windows Explorer on XP SP3. Explorer offers an undo but I am not 100% confident I remember what was the last operation I ...
3
votes
1answer
392 views

How do I rename a file or folder to .something in Windows 7?

When I try to rename a folder to .svn or a file to .myemacs, for example, a popup says: You must specify a file name. Do you have a workaround ?
2
votes
1answer
3k views

Renaming OSX Lion partitions and mountpoints

I replaced the original hard drive within my Macbook Pro with a ssd to gain in speed. I kept my hard drive as an external hard disk mounted at /Volumes/Macintosh HD (got this name automatically, no ...
0
votes
3answers
1k views

How to remove parts of a file name

Ive got multiple mp3 files named like so: artist - year - album - track - title.mp3 about half of them, due to a "rename from tag" error are named like this: artist - year - album - track - title - ...
1
vote
0answers
787 views

Windows batch file: rename files (possibly in multiple folders) based on input file (of target filenames)

I am a Batch-newbie... This "tool" is to automate the slimming down of Windows (XP) by disabling certain system driver, DLL and EXE files. Instead of outright deletion, I wish to rename-in-place, ...
5
votes
1answer
9k views

How to rename files located on a network path (UNC path) in Windows 7 command prompt?

In the command prompt, I need a way up rename a file on a remote server. Conceptually, this is what I am looking for: ren \\servername\folder\file.txt \\servername\folder\file2.txt Aside from ...
1
vote
1answer
299 views

Is it possible to set a display name different to its real name in Windows 7?

Considering any folder, is it possible to set a different display name for it without changing the real system name? For example, to have a folder on any drive, like D:\foo and let it show up in ...
5
votes
1answer
942 views

How to select the whole file name? [duplicate]

Possible Duplicate: Select full file name when renaming on Windows 7 When I select a file in the file explorer and press F2 I get the file name highlighted, but not including the extension: ...
1
vote
2answers
2k views

How can I change the name of the VBScript process, wscript.exe?

I want to run multiple scripts simultaneously, but monitoring them or detecting which has died is difficult as they are all listed as wscript.exe in the process list. How can I change the name of the ...
0
votes
2answers
900 views

Truncate all files in a directory after underscore?

I have a directory with a couple thousand images in it. Most of them have sensible filenames like SD-000.tif SD-001.tif BX-000.tif etc... However probably ~25% of them have names like BX-003_old.tif ...
1
vote
1answer
2k views

Renaming VLAN Interfaces in Linux

I need to know how to rename VLAN interfaces. I'm currently running Ubuntu 11.04. I'm running a networking application that takes frames on one interface applies things like delays and errors and ...
0
votes
1answer
98 views

symbolic links rename destination with out effecting source (xp machine)

i'm using windows XP i have a directory with an invalid naming schame, i would like to clone the dir (without actually coping it, as in symlinks) and rename the files there in the proper manner for ...
0
votes
5answers
5k views

While renaming, How can I disable Windows 7 highlighting the entire filename when I click'n'drag across part of it?

This is super annoying. If I highlight one word in the long filename, the entire filename gets highlighted (usually 1 millisecond before I tap delete or type something else). I just want Windows to ...
1
vote
1answer
154 views

Unix utility to rename file(s) in an editor or inline

I am looking for a unix command-line program for renaming file (or files) visually, in an editor or inline (in the same manner as you rename a file on your desktop). Example. I often need to rename a ...
1
vote
1answer
1k views

batch-rename filenames with numbers to sort alphabetically

I want to batch-rename files containing numbers, padding the numbers with zeroes. The goal is to sort numbered sets of files alphabetically in the correct order in any application. In a set of files ...
2
votes
3answers
13k views

How to loop through folders and rename extensions in a batch file?

Selecting a single folder I could run ren *.jpeg *.png I have multiple folders. I want to create a batch file that will loop through all the folders and will rename the files within it. For ...
0
votes
1answer
923 views

Stripping out illegal characters such as question marks “????” from names of my files on Windows 7

I need a simple free software program that can strip out illegal characters such as question marks ???? from names of my files on Windows 7, 64 bit and can strip them in batch/bulk