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
3answers
2k views

Is it possible to change a filename prefix using the rename command with wildcards?

I have read as much of How does the Windows RENAME command interpret wildcards as I can understand, and still cannot decide if there is some wildcard combination you can use to make RENAME do this: ...
2
votes
1answer
210 views

Is it possible to prevent users from renaming volumes in OS X?

I installed a second drive in a MacBook Pro (OS X 10.6.8) and then moved (properly) the user folder to that drive. Then I decided the space in the volume name was a nuisance so I renamed it. I should ...
2
votes
1answer
110 views

Rename files with a batch but only the ones ending on “*D.txt”

I want to rename all the files in a single directory but only txt-files that end with a D. Here is what I tried in a batch... but both didn't work. -----try1----- @echo off set ...
13
votes
6answers
935 views

I named a folder the character for space, and now that I've switched over to Windows I need to rename it

I named a folder " ", the symbol for a space. In Linux you can create folders with just a space. Now that I've switched over to Windows, I can't move the folder that has the folder named " " in it. ...
0
votes
1answer
906 views

How to Change Windows 7 OS HDD Display Name'?

The display name of my OS drive in Windows 7 (64 Ultimate) won't display as the name I've renamed it via properties, Diskpart and manually. What is going on! As you can see in My Computer it is named ...
1
vote
0answers
127 views

Custom copy paste. how to eliminate invalid characters from paste?

I collect articles and like having the title of the article in the filename. However, some titles contain invalid characters such as ':'. This precludes a simple, and quick, copy paste operation to ...
0
votes
3answers
218 views

Cannot create CON.csv or PRN.csv in Win7 [duplicate]

On Win 7 Enterprise 64bit V6.1.7601 SP1 Build 7601, I cannot create *.csv files with specific names, i.e. CON.csv or PRN.csv. This is the error I get when I try to rename: Also, if I try to rename ...
2
votes
1answer
2k views

Run batch file through Windows 7 scheduler to rename folder on network drive

I'm trying to do what I believed would be very simple: have a .bat file that rename two folders on a network drive. The script works fine when running from prompt, but not from the scheduler. Any ...
0
votes
1answer
87 views

Rename files from in1.jpg, in2.jpg, in3.jpg, etc to out0001.jpg, out0002.jpg, out0003.jpg etc using perl script `rename`

I would like to rename a large number files with names in1.jpg, in2.jpg, in3.jpg, etc to out0001.jpg, out0002.jpg, out0003.jpg, etc. Grateful if somebody would suggest a solution using the perl script ...
9
votes
3answers
6k views

Renaming open files in sublime text 2

I am trying to rename open files in sublime text 2. In version 2.0.1 Build 2217, you could rename by pressing f2 or by opening the command palette by pressing Ctrl + Shift + P and entering rename. ...
0
votes
1answer
979 views

Recursively copy and rename to replace spaces with underscore

I have a directory with 400 sub-directories each containing several hundred files many with filenames that contain spaces. I need to copy all of the files with spaces in the filenames, resulting two ...
0
votes
1answer
583 views

How to rename multiple folders while keeping their files subdirectories

I want to rename multiple folders and keep all files and subdirectories in tact. Windows batch commands like xcopy and move can't handle every case*. I set up two columns with old paths and new ...
2
votes
0answers
2k views

mv command says “No such file or directory”

I am attempting to rename a directory on an external hard drive on Mac OS X. When I tried in the finder I got an error that says, "An unexpected error occurred (error code -43)." -- so I thought I may ...
0
votes
1answer
775 views

Command or script to paste a file into multiple folders and have the file type overwrite the same of its kind while keeping the original file's name?

The title kind of already explains it but I'll be a bit more specific here. I'm looking to replace a .jpg file in multiple different folders with a different .jpg file, but I want to be able to keep ...
0
votes
1answer
248 views

How to batch rename files using bash

I know there are lots of such questions, but I couldn't find one (or a combination of several), which describes the things I want to do. I think I need to use regular expressions, but I am not very ...
0
votes
1answer
79 views

Move numbers in a filename to the start

I have several files in a folder, with names in the form: SOMETEXT1 number SOMETEXT2.mp3, or SOMETEXT number.mp3. I want to rename these to number SOMETEXT SOMETEXT2.mp3, or number SOMETEXT.mp3. Using ...
4
votes
1answer
555 views

'rename' on files with apostrophes

I'm trying to batch rename some files using the rename utility (specifically the perl version, i.e. prename). Unfortunately, the file names contain apostrophes, and it's messing things up. I'm not ...
0
votes
1answer
973 views

How do I set the Name Box using an excel VBA macro?

I'm building a model that takes the results from the first sheet and inputs them into the next sheet. Effectively creating an application that runs in series. I have defined the values in the first ...
6
votes
5answers
9k views

How to rename files and replace characters?

I have a group of files that have : (colon) within the name. I need to replace the : with - (dash). Is there an easy way to do this in a script? Sample FileName: ...
1
vote
3answers
70 views

String replacement in filenames in linux

I have a tonne of files called File30_i.txt for i=1, 2, 3, 4, 5... Is there an easy way to quickly rename then File20_i.txt for example?
2
votes
2answers
9k views

Renaming multiple files at once with a pattern on Ubuntu

I have around 300 files named some_name_123456789.zip another-name2_987654321.zip something(1)_123454321.zip [2]something_987656789.zip I need to rename them all to ds_123456789.zip ...
0
votes
0answers
81 views

Tried to change wireless name and password and can no longer connect

The one computer that's hooked up to the router with an ethernet cable still works, but none of the passwords (old or new) are working, even after changing the name back. I tried a factory reset, got ...
3
votes
1answer
1k views

How can I bulk move and rename images/videos in a folder

All my mobile device's photos and videos are backed up to the cloud and synchronized to my laptop using Dropbox's "Camera Upload" feature. All the photos and videos get added to the "camera uploads" ...
1
vote
1answer
752 views

I need to rename an OS X boot volume that was accidentally renamed with over 250 characters

Somehow a coworker's Mac hard drive was renamed with over 250 characters. Too many to show in the Finder, though I did take a photo of the name while booting up in command line. its mostly 'h's and ...
1
vote
1answer
967 views

Find “ extra” dot in filename and remove it [duplicate]

I have some files inside a directory structure with multiple folders that have more than one dot. For example, "x.y.jpg" or "x.yz.01.jpg". How can I list all files with more than one dots in their ...
4
votes
2answers
1k views

Bulk Rename Utility

I have been using Bulk Rename utility and I have been having some issues. I have some files named things like 664722.pdf,664762.pdf, and 664722-1.pdf that I need to rename. The problem is I have to ...
2
votes
1answer
3k views

Change the names of a field

I am looking for a way to change field names in Access. I am importing data through a macro, from text files. Which i then review through a crystal report. Now, sometimes, the report needs to read ...
0
votes
4answers
1k views

Rename multiple files in sequence through command line

I have 9873 files in a folder on hard-drive that are named as myname-script.sql.001 myname-script.sql.002 and so on Now I need to rename these files to myname-script.001.sql ...
9
votes
1answer
52k views

How to rename a (too) long file name [duplicate]

I have downloaded this pdf file with a very long name, which cannot be opened by Adobe Reader or by Adobe Professional because it has "invalid file name". It cannot be renamed using the DOS prompt ...
3
votes
2answers
5k views

How do I remove non-ascii characters from filenames?

I have several files with names containing various Unicode characters. I'd like to rename them to only contain the "printable" ASCII characters (32-126). E.g, Läsmig.txt //Before ...
1
vote
3answers
81 views

Changing lots of file names in windows [duplicate]

I have 1900 files that I'd like to edit their name. The files contain the title of the file but also have unneeded characters that I'd like to remove. For example, one file might be titled Hello ...
2
votes
1answer
3k views

SVN - rename root folder

To rename a folder in a working copy, we can run svn mv. But when you try to rename the root folder, you end up with svn: E155007: '/home/username/svn_repos' is not a working copy Where 'svn_repos' ...
3
votes
1answer
2k views

Windows 7: Rename items in taskbar jumplists without renaming the actual file

TL;DR: I want to be able to change the name of items in the Windows 7 taskbar without changing the name of the file they link to. Using ZIM Desktop Wiki I want to pin my notebooks to the taskbar ...
2
votes
1answer
198 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
206 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
2k 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
373 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
249 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
675 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
4k 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
111 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
411 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 ...
12
votes
4answers
23k 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
678 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
5k 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
762 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 ...
2
votes
0answers
862 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
232 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 ...