| Next: how do i set up file and printer sharing |
| Author |
Message |
FightingBob

Joined: Jul 27, 2003 Posts: 84
|
Posted: Tue Nov 06, 2007 11:28 am Post subject: Need a Batch File-renaming Utility |
|
|
I have a massive number of files within a massive number of folders (several 100,000 files; 5000 folders & subfolders). I need to re-name all of the files. Simply giving them consecutive numbers or a combination of letters and numbers (e.g., first file called "ER000001," the second called "ER000002," and so on) will be sufficient for my purposes.
I've found utilities that do re-naming within a single folder, but none that go through a tree structure.
I need this for my business, so there's no problem paying more than I would for something just for my home computer.
Can anyone suggest a program that does this?
Thanks. |
|
| Back to top |
|
 |
goretsky

Joined: Dec 07, 2002 Posts: 9041
Location: Southern California
|
Posted: Wed Nov 07, 2007 3:22 am Post subject: Re: Need a Batch File-renaming Utility [Login to view extended thread Info.] |
|
|
|
|
| Back to top |
|
 |
FightingBob

Joined: Jul 27, 2003 Posts: 84
|
Posted: Thu Nov 08, 2007 2:00 am Post subject: Re: Need a Batch File-renaming Utility [Login to view extended thread Info.] |
|
|
123Renamer works quite well for my purposes.
Thanks very much. |
|
| Back to top |
|
 |
geo90

Joined: Oct 22, 2007 Posts: 10
|
Posted: Sat Dec 08, 2007 1:52 am Post subject: [Login to view extended thread Info.] |
|
|
| File And MP3 Tag Renamer is a powerful, easy-to-use multiple files renamer and mp3 file renamer. |
|
| Back to top |
|
 |
jem

Joined: Dec 20, 2007 Posts: 3
|
Posted: Fri Dec 21, 2007 2:19 am Post subject: [Login to view extended thread Info.] |
|
|
| File name pro is also a good one, i have used. |
|
| Back to top |
|
 |
gnum896

Joined: May 18, 2008 Posts: 1
|
Posted: Sun May 18, 2008 1:18 pm Post subject: [Login to view extended thread Info.] |
|
|
I use InnoRename to rename my huge picture files from my photo and my mp3 files too.
Great program to try (find it there www.innoplanet.com) |
|
| Back to top |
|
 |
chouchou45

Joined: Jan 17, 2009 Posts: 1
|
Posted: Sat Jan 17, 2009 3:53 pm Post subject: [Login to view extended thread Info.] |
|
|
Free and cross platform rename utility : jRename
The one I use |
|
| Back to top |
|
 |
Obg1

Joined: Jan 18, 2009 Posts: 1
|
Posted: Sun Jan 18, 2009 3:42 pm Post subject: FilerFrog - Renaming and more [Login to view extended thread Info.] |
|
|
use FilerFrog
gives you easy file renaming and much more |
|
| Back to top |
|
 |
Killa

Joined: Feb 13, 2009 Posts: 12
|
Posted: Thu Feb 26, 2009 8:18 am Post subject: [Login to view extended thread Info.] |
|
|
| I have used Total Commander for that |
|
| Back to top |
|
 |
SenHu

Joined: Mar 23, 2009 Posts: 2
|
Posted: Mon Mar 23, 2009 12:01 pm Post subject: Rename files in folders and subfolders - free script [Login to view extended thread Info.] |
|
|
FightingBob:
Here is a free solution.
This is rather a small requirement.
I assume you only want to rename the files, not the folders.
I wrote a little script for you. Store it in a file C:/Rename.txt and call it from biterscripting as follows.
| Code: |
script "C:/Rename.txt" prefix("ER") folder("C:/somefolder")
|
"ER" is the prefix for file names. You can change it to whatever you want. Files will be named with that prfix.
"C:/somefolder" is the folder inside which these files are. Again, pass the correct value for this folder path.
| Code: |
# Script C:/Rename.txt
# Input arguments
var str prefix, folder
# File number
var int number
set $number = 1 # Your example starts with 1
# Collect file list.
var str filelist
find -r -n -g "*" $folder ($ftype=="f") > $filelist
# -r means recursive, -n means collect file name only,
# -g means go around errors, ($ftype=="f") means show flat files only (not folders)
# Go thru files one by one and rename as ($prefix+$number).
while ($filelist <> "")
do
var str file ; lex "1" $filelist > $file
system rename $file ($prefix+makestr(int($number)))
set $number = $number + 1
done
# End Script C:/Rename.txt |
Since you have a very large number of files, try this script first on a test fileset. Make sure it is working to your satisfaction before using it on the real fileset.
If you don't have biterscripting, get it free. Follow the installation instructions in http://www.biterscripting.com/install.html .
Does this help ?
Sen |
|
| Back to top |
|
 |
|