Roy and Barb, your suggestions are valid, and they are good ideas for
the future.
Right now, though, I have literally several thousand pics named in the
format NNN STREETNAME.JPG
I was hoping to find some way to have Windows Explorer sort them first
by streetname, and then by number within streetname,.. but if there is
some other program that will do this, I am flexible.
I looked athttp://
www.1-4a.com/rename/and it appears there may be a
way for this freeware to do what I want. In the FAQs there is this
procedure:
"I want to change the position of existing numbers to the front"
Old file names
pic01.jpg
pic107.jpg
pic7.jpg
New file names
01pic.jpg
107pic.jpg
7pic.jpg
* Check the Swap/Add field and set Separator to "$". This will
treat a number as a separator.
* Set the Swap field to "<0><1><2>"
Do you think it will work the same for moving numbers from the front
to the rear of the name? If so, my problem is solved,.... I can just
change "56 Applejack Way" to "Applejack Way 56" and re-sort.
Mel,
-------
I did some experimenting with the 1.4a Rename software using the
following filenames:
28 Maple Ave.txt
1428 Hickory St.txt
56 Applegate Way.txt
Ran them through 1.4a Rename using these parameters:
NB: MAKE SURE YOU BACKUP YOUR FILES TO A NETWORK FOLDER OR TO A
DESKTOP FOLDER OR TO A ZIP FILE BEFORE YOU START WORKING WITH THEM.
Start Rename. Press [F2] to get to the advanced functions. Set the
settings as follows:
*.jpg <<-- filename that you will be working with.
check subdirectories and indicate the number of sublevels if your
files are not all located at the same directory level.
Locate the directory the contains the files that you will be working
with.
Select the radio button for 'name' indicating that you will be working
only with the filename and not the extension.
In the next box select:
'Swap/add'
the Separator will be $
The parameters in the box just under 'Separator' will be <2>-<0><1>
Indicate that you will be working with the first occurrence.
On the upper right-hand side the parameters should be:
(n)ame / n /
check 'a1 < 'a02' / check X to top
check 'Instant Preview' / check 'Instant Problem Checking'
At the lower right, click on the 'Start' button.
On the tiny sample of text files that I worked with, I got the
following results. You'll notice that they are now alphabetical by
the first characters of the street names.
Applegate Way-56.txt
Hickory St-1428.txt
Maple Ave-28.txt
I added a few files manually to see what kind of results I would get
with more street numbers. Here are the results. You'll see that the
street numbers are sorted after the street names. Note the dash
before the street number ... this is to make the number stand out.
It'll also act as a unique Separator to give you a way to reset the
data if you need to.
Applegate Way-56.txt
Applegate Way-227.txt
Applegate Way-560.txt
Hickory St-4.txt
Hickory St-1428.txt
Maple Ave-28.txt
I only worked with a very small sample, but I think if: (1) You name
your streets consistently (ii.e., always abbreviate the word Street
and Boulevard, etc. or always spell them out fully ... in other words
consistency in the data; and (2) I don't think that you'll need to
lead-fill with zeroes the street numbers if the street names are
absolutely consistent.
From my small sample, I think you're going to get the results that
you're looking for just by using 1.4a Rename. BUT, make sure you have
a real good backup of your entire data set BEFORE you start working so
that you can get back your data if you need to.
Also, just under the "Start' button in 1.4a Rename is a box to check
'Don't rename problematic files' -- I would select that so that any
filenames that fall outside the parameters don't get renamed. Since
you know the data, you should be able to spot any anomalies, before
you go live with the filename conversion.
Good luck.
Barb