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
4answers
5k 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 ...
1
vote
1answer
9k 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
890 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
723 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 ...
0
votes
2answers
518 views

Easily swap file names?

Is there an easy way to swap the file names of two files in Windows? Perhaps using the move command in the shell? Preferably without using external software. Example: I have fileA.txt and ...
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
208 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
876 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
335 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
2k 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
953 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
689 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, ...
1
vote
1answer
449 views

How do I rename a file that only consists of an extension?

I use the Eclipse IDE to do development work and would like to copy/rename the .classpath and/or .project files. Note that these files only have an extension and not a filename. Windows won't let ...
4
votes
1answer
7k views

Windows 7 command prompt: rename files located on a network path (UNC path)

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 using ...
-3
votes
2answers
219 views

Does anyone know what key combinations do we need to press to select all the text while renaming a file?

When renaming a file, I tried to do Ctrl-A (I wanted to select all then Ctrl-C copy). However to my shock that shortcut doesn't work. Does anyone know what key combinations do we need to press to ...
1
vote
1answer
286 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
860 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
1k 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
728 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
91 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
4k 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
149 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
911 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
11k 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
839 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
8
votes
2answers
10k views

How can I batch rename a set of filenames in Linux?

I have a folder with images named: pic001-2.png pic002-2.png pic003-2.png How do I rename them to the following? pic001.png pic002.png pic003.png I have tried mv "pic*-2.png" "pic*.png" but ...
31
votes
5answers
1k views

In bash, how can I rename a file without repeating the path? [duplicate]

Possible Duplicate: Reuse text on a bash command If I want to rename a file a few directories deep, how can I avoid repeating the path? For example: mv path/to/old_filename.txt ...
1
vote
1answer
902 views

How to download files and rename them using href name?

How would you mass download files from a web page and also rename them using the href name(description) they have? The idea is that files downloaded have descriptive names, unlike the original file ...
0
votes
1answer
286 views

Directory disappeared while renaming

I was just renaming a directory on my desktop using standard GUI procedure and it disappeared. I checked the usual things like recycle bin, hidden file settings, system file hiding and so on but it's ...
4
votes
2answers
1k views

How to rename all files and directories in current folder?

I have a directory structure like this: ./ whatever/ foos_whatever.ext something/ foo/ 1.ext 2.ext another/ foo.ext I want to rename all files and directories that ...
2
votes
1answer
411 views

Recursively renaming .foo files based on name of accompanying .bar file in multiple folders in Windows 7?

I've just finished creating SHA1 hashes for each album in my MP3 collection using Corz Checksum. It left a .hash file in each folder, as desired. (Each folder is an album.) However, the hash files ...
2
votes
3answers
457 views

Rename images so they burn to CD in order

I have a bunch of images named: 1.jpg 2.jpg 317.jpg 317 (2)a.jpg etc. In my file browser (Nautilus), they are displayed in the correct numerical order. However, in Brasero when I order them, it ...
0
votes
1answer
392 views

Software (with GUI) that can be set to bulk rename multiple files in a ZIP file (and preferably RAR and 7Z too) and then extract them (for Windows)

Can anyone recommend a software with a GUI that can be set to bulk rename multiple files in a specified ZIP file (and preferably RAR and 7Z too) and then extract them (for Windows 7)? The software's ...
1
vote
1answer
2k views

How to rename a set of files in the Windows command prompt?

How to rename a set of files like this in the Windows command prompt? current file names: file111.txt file112.txt file113.txt after renaming file names: file0111.txt file0112.txt ...
1
vote
3answers
11k views

How can I remove the first character from all filenames in a folder?

I need to remove the first character (which is always "_") from all filenames in a folder. I'm currently using this command: ren _*.txt *.txt But it doesn't work. However, if I run ren _*.txt A*.txt ...
2
votes
1answer
967 views

Unable to rename folders in Windows Vista SP2

When logged in as a particular user (an Administrator) on a Windows Vista machine I cannot rename new or existing folders under Windows anywhere on the system, including external USB drives, NAS etc. ...
0
votes
4answers
568 views

Utility to download and rename a bunch of files?

This Bash script is fine to download just a few files, but I need to download over a hundred of them. VisualWGet is able to download a file of files, but is unable to rename them. Does someone know ...
0
votes
2answers
129 views

Software for batch renaming of images [closed]

I have a bunch of images downloaded from the web. I kept their original file names when I saved them. Now I would like to reorder these images and have them renamed in a pattern like this: ...
2
votes
3answers
2k views

Rename folder according to mp3/flac tag information

I would like all folders in my music collection to be renamed with a date, which is tagged in the music files inside them. Basically, change Dire Straits - Money For Nothing in Dire Straits - 1988 ...
2
votes
2answers
333 views

Rename sets of files based on size

Background Rename one set of files based on a name that corresponds to another set, using a sort order based on file size to match the file names. The files from both sets have approximately the same ...
0
votes
1answer
564 views

Bulk/Batch File Renamer [closed]

I would like some/any recommendation for a Batch/Bulk File Renamer software for Windows 7. The thing is, I want a software that can rename files in a watched folder. By this I mean that the software ...
4
votes
4answers
848 views

Renaming files in batch with Unix RENAME

I have files whose names look like this: Sim1-2_40.36.chr20_sb.foo.indel.novoalign.sam Sim1-2_40.36.chr20_sb.foo.indel.bwa.sam What I want to do is to replace all indel with snp in the names ...
3
votes
1answer
1k views

Rename file in XP, only select file name, but show file extension

So if I have a file called: test.txt and I want to rename it, there are two options (depending on the Show already known file extension option): 1) ON: it selects everything (test.txt), meaning I ...
1
vote
1answer
895 views

Shell script to rename multiple files from their parent folders name

I have a file structure like this: 00000010 000000001.file1 000000001.file2 00000020 00000003.file1 00000003.file2 00000003.file3 ... So there are folders with 8-digit names containing one ...
4
votes
1answer
2k views

How to recursively rename files/folders to make their names Windows-friendly?

I have a bunch of files on a Ubuntu box, which have various characters in their filenames that Windows doesn't accept (mostly ":" and "*", but possibly others). What's the simplest way to get these ...
8
votes
2answers
1k views

Windows filename suddenly gets selected again while renaming it

I am finding when I try to rename a file in windows 7, i typically select the file i want to rename, hit F2 (rename) and type the new name. I've been getting this weird bug which the while file name ...
11
votes
10answers
54k views

How do I remove the same part of a file name for many files in Windows 7?

Basically, I have an album of music and I want to remove the authors name from all of the mp3 files instead of having to manually do it myself. Is there a function in Windows 7 Ultimate that can do ...
0
votes
1answer
377 views

Extracting metadata from flac header in linux

I recently (and accidentally) wiped a hard-drive which should NOT have been formatted. Thankfully, PhotoRec was able to recover some of the most important files from the disk. Part of those files ...