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

8
votes
2answers
11k 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 ...
34
votes
5answers
2k 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
1k 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
315 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
432 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
484 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
408 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
14k 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 ...
0
votes
4answers
650 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
139 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
3k 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
1answer
357 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 ...
6
votes
4answers
907 views

How to rename files in batch with Unix rename command?

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
1k 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 ...
15
votes
10answers
67k 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
401 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 ...
5
votes
1answer
5k views

Rename multiple files as “Modified Date/Time” using cmd or Powershell

I have hundreds of JPG files in a folder. I want to rename each file so that the file name is replaced with "Modified Date/Time" of that file, namely DD.MM.RRRR.HH.MM.jpg. For example, Before ...
0
votes
1answer
459 views

Can I sort files A-Z and at the same time Z-A?

Question I am trying to sort and rename a large number of files that are labeled #####_## The LEFT side of the underscore are numbers (e.g., 32956715, 32956810, etc.) that do not repeat. The RIGHT ...
1
vote
1answer
379 views

how to use linux rename

i'm embarrassed i even have to ask but I have a directory with m4a files that have the number of the track from the cd appended to the beginning of the filename, such as this: 1-01 Smash.m4a how ...
0
votes
1answer
749 views

is there a way to sort and rename open windows in Windows XP taskbar?

I want to rename and if possible sort my open Windows in the task bar. The reason is that some programs I use (pgAdmin, Windows Explorer, Google Chrome) put names on the Windows from which I cannot ...
9
votes
4answers
5k views

Renaming an Invalid Filename in NTFS

Recently, I loaned my flash disk to one of my friends, who had Mac OS. He copied a file on it, whose name included a backslash (\). The flash disk is NTFS formatted. Windows does not allow such ...
8
votes
3answers
20k views

Recursively rename files (change extension) in Linux

How do I rename all files in a directory, recursively, changing one file extension to another, for thousands of files in thousands of subfolders? I see a lot of commands that do almost what I want, ...
1
vote
2answers
2k views

What happens when you rename c:\users folder in windows 7?

I've tried to move the folder using a WinPE, but it was very difficult because of strange things happening. First I renamed the folder to c:\usersbackup but in explorer when I went to see if this was ...
2
votes
4answers
1k views

Looking for tool to rename/organize documents scanned as jpeg images

I'm looking for a tool that makes it easy to view and browse batches of images and batch rename, index, organize into folders. I have a Epson SX600FW which can scan in 30 docs at a time to memory card ...
5
votes
3answers
2k views

Windows 7 can not rename a file to 'aux.svg': “The specified device name is invalid” [duplicate]

I use Windows 7 x64. You can try this on your computer, too. Go take any file. Try to rename it to 'aux.svg'. Windows will answer with The specified device name is invalid. I tried this on two ...
2
votes
6answers
4k views

Sort and rename images by date in EXIF info

I have a mess in my photos folder; I want to sort them according to date in EXIF information and rename according to the date (like 001.jpg, 002.jpg and so on). How can I do this in Linux? I have ...
1
vote
1answer
1k views

How do I automatically rename and move movies?

I'm looking for some software which will take a video file, work out the correct name of the film, rename it and then move it to another drive on my computer inside a folder with the same name. So for ...
8
votes
5answers
21k views

How do I find and replace a character in filenames in Windows 7 using Explorer?

I want to replace all the underscore characters (_) with a space () in a filename. How can I do this quickly, when I have lots of _ characters to replace?
2
votes
1answer
482 views

CLI: batch file rename — with CONTENT ?? (e.g. specific text mentioned in file)

I would like to batch rename files (*.txt) by inserting a number of the format 'RXR1234567' (RXR+7digits) [if such number (and ideally only one) is found in the text] at the front of the filename, ...
4
votes
6answers
586 views

Best tool to perform multiple renames under windows? [duplicate]

Possible Duplicate: How can I mass rename files from the command line or using a 3rd party tool? Requirements: works for files/folders same time works on WinXP, Win7 (EDIT: 32 and 64 bit ...
1
vote
2answers
783 views

Mass renaming files, removing dots

I want to rename files as to delete unneccessary dots. ie: File.something.jpg -> Filesomething.jpg I.Have.Too.Many.Dots.png -> IHaveTooManyDots.png How can this be done? find -name *.*.* ...
2
votes
2answers
3k views

Batch script to batch rename files or use a tool? [duplicate]

Possible Duplicate: How can I mass rename files from the command line? i have some folders of files i want to rename. the general structure of the file is /root /module 1 ...
2
votes
3answers
1k views

Renaming multiple file extensions based on a condition

Hi I would like to rename a bunch of .bin files into .oma based on one condition: the first 4 bytes of the .bin files are supposed to include the string 'RIFF'. If it includes something else, then do ...
0
votes
2answers
937 views

You do not have sufficient access privileges to rename the item

This is too weird I am logged on as main user and try to rename a file in Finder Get info tells me I have read/write access I finally did a chmod 644 in terminal - that did not help -rw-rw-rw-+ 1 ...
6
votes
2answers
4k views

How to change the filesystem label on the vfat filesystem located on device /dev/sdb1?

I just followed the instructions from Cyberciti.biz to format my Kingston USB drive. Instead of ext2, I formatted the drive to vfat. I forgot to use the naming option when using mkfs.vfat (webpage ...
1
vote
2answers
94 views

Merge and lowercase Directories and FIles

I have a directory like this root/A/b/SomeFile.jpg root/A/B/OtherFIle.jpg root/a/D/yet_again.jpg And I would like this root/a/b/somefile.jpg root/a/b/otherfile.jpg root/a/d/yet_again.jpg OR ...
0
votes
6answers
281 views

Change files from x#.jpg to x###.jpg

I have a bunch of files x1.jpg, x2.jpg, x3.jpg, etc. that need to be named x001.jpg, x002.jpg, x003.jpg, etc. How can I do this? Edit: I'm running windows but have cygwin installed.
0
votes
3answers
581 views

Renaming a file using a batch program in Vista/7. Problem with administrator access

I have a batch file that renames a file in a folder using: rename filename.exe filename.bac This works good in Win XP. But in Vista/7, if the batch file is run under Program Files/ it does not ...
0
votes
1answer
124 views

Rename AVI files from digicam

I use my Canon SD1100IS digicam to take pictures and video clips. When I upload to my computer, the folder has a bunch of IMG_nnnn.jpg, MVI_nnnn.AVI and MVI_nnnn.THM files. The AVI files are in ...
0
votes
0answers
674 views

How can I launch (run) C:\Windows\notepad.`.exe` after I rename it to MSnotepad.`.exe`?

On Windows 7 (32-bit) I want to A. Replace notepad.exe with NoteTab Pro B. Still be able to run the original notepad program on occasion. What I've done so far accomplishes goal A: Take ...
2
votes
2answers
5k views

rename command in osx [duplicate]

Possible Duplicate: Renaming many files in Mac OS X, batch processing Hi, how I can rename a many files with command line in osx? in linux exits a "rename" command, exist a similar in ...
0
votes
1answer
5k views

Hot to remove special chars from filenames and rename them in a directory?

This is what I have so far. #!/bin/bash pushd DirectoryName for file in *.csv; do #echo $file filename=${file%.*} file_clean=${filename//[ ()$+&\.\-\'\,]/_} final= ...
0
votes
1answer
977 views

How to use RAR or ZIP to rename replaced files when extracting

I wish to extract files using RAR or ZIP but I need to be able to rename the files being replaced so that there is a copy of the previous version in case something goes wrong. Couldn't see any ...
26
votes
10answers
22k views

Renaming many files in Mac OS X, batch processing

I used to rename file in Linux via a rename command: rename 's/old_pattern/new_pattern/g' *glob Is there something similar in Mac OS X (Snow Leopard)?
4
votes
3answers
583 views

Rename lots of files in one click

Is there any application that can rename lots of files which have the same name in them with different numbers. For example. I want to rename, File 01.avi and File 02.avi up to File 100.avi. Into ...