File renaming utility for LONG Filenames

Started Feb 14, 2005 | Discussions
Georgi
Veteran MemberPosts: 7,638
Like?
File renaming utility for LONG Filenames
Feb 14, 2005

Guys, I just tried to back up my work on my DVD-RAM and it doesn't finish because it keeps finding filenames that are too long.

I don't get the option to change it or skip it or anything, just to acknowledge and then it stops the process.

Since this will probably be a problem regardless what I use to back things up, do you know if there is a filerenaming utility that will SEARCH out LONG filenames and let me change them?

Thanks

George

Mike Fulton
Senior MemberPosts: 1,480
Like?
Re: File renaming utility for LONG Filenames
In reply to Georgi, Feb 15, 2005

Georgi wrote:

Guys, I just tried to back up my work on my DVD-RAM and it doesn't
finish because it keeps finding filenames that are too long.

I don't get the option to change it or skip it or anything, just to
acknowledge and then it stops the process.

Since this will probably be a problem regardless what I use to back
things up, do you know if there is a filerenaming utility that will
SEARCH out LONG filenames and let me change them?

Keep in mind that the problem may be that the complete pathname is too long, not just the filename itself. If you have things several levels of folders deep, with descriptive names on each folder, this can easily happen.

If that's the case, changing your folder hierarchy or renaming the folders may be required.

Mike

Reply   Reply with quote   Complain
Georgi
Veteran MemberPosts: 7,638
Like?
Which might be the case here but
In reply to Mike Fulton, Feb 15, 2005

I've seen the files it's talking about and they're damn long so that doesn't help either.

The problem is it doesn't offer me the chance to rename them or something and it simply stops copying and I don't know where the hell to resume from so I have to stop and with a directory with over 4 gigs of files, it makes it hard to find what the machine last copied.

Of course, until recently, I had no idea that the WHOLE path makes a difference so I've never really practiced any restraint.

Oh, don't get me wrong, the filenames are probably UNDER 256 charcters or whatever's allowed but as you say, they are usually under SOME folder or two.

In this case, these I think were under two levels of folders and although their names were fairly normal, the filenames WERE long.

So, any ideas for automatically finding filenames/paths LONGER than the allowed characters?

Thanks

George

Reply   Reply with quote   Complain
Mike Fulton
Senior MemberPosts: 1,480
Like?
Re: Which might be the case here but
In reply to Georgi, Feb 16, 2005

Georgi wrote:

I've seen the files it's talking about and they're damn long so
that doesn't help either.

The problem is it doesn't offer me the chance to rename them or
something and it simply stops copying and I don't know where the
hell to resume from so I have to stop and with a directory with
over 4 gigs of files, it makes it hard to find what the machine
last copied.

Of course, until recently, I had no idea that the WHOLE path makes
a difference so I've never really practiced any restraint.

Oh, don't get me wrong, the filenames are probably UNDER 256
charcters or whatever's allowed but as you say, they are usually
under SOME folder or two.

In this case, these I think were under two levels of folders and
although their names were fairly normal, the filenames WERE long.

So, any ideas for automatically finding filenames/paths LONGER than
the allowed characters?

I have source code for a program that can walk directories and do stuff to files that could be modified to look for things that exceed a certain maximum... the question is, what is the maximum? And what do you do with the files that exceed it? That is, HOW do you rename it? Just a random numbered filename, or what?

Mike

Reply   Reply with quote   Complain
WufD0g
Regular MemberPosts: 158
Like?
Re: File renaming utility for LONG Filenames
In reply to Georgi, Feb 16, 2005

Georgi wrote:

Guys, I just tried to back up my work on my DVD-RAM and it doesn't
finish because it keeps finding filenames that are too long.

I don't get the option to change it or skip it or anything, just to
acknowledge and then it stops the process.

Since this will probably be a problem regardless what I use to back
things up, do you know if there is a filerenaming utility that will
SEARCH out LONG filenames and let me change them?

Thanks

George

Googled'd Google Groups
w/ "burning cd long filename"

and came up with these tidbits:

-snip-

Little did I know the solution would be so easy and so close at hand.
A very kind genius taught me a neat trick using the "?" in find files
in Win9x. I remember know that there was the ? symbol (versus
wildcard) but I never use it so lost in my memory. I just plugged
this in to find files (apparently there are 63 of them though I didn't
count ):

????????????????????????????????????????????????????????????­???

my computer found 686 entries that were this length and longer!
I'm laughing so hard I nearly fell off my chair. And the names are
presented exactly as I need them, right there so I can make changes.
I may search for 65 instead, that way as I get them smaller they'll
stop appearing in screen. Once there are none there, I'll know
they're all 64 and less. Far out!!

Elegent yet simple solution that will solve my problems re this issue.
And I can save the search so it's handy whenever I need it just before
a backup and won't tie my system down (this found all 686 files
quickly, when the burning app does it, it takes forever as it churns
them up).

Just made my day!!

-snip-

Thank you Anne, good to know. To summarize so far, File Renamers we
know can handle shortening (truncation) of very long filenames:

1-4a Rename
Siren
The Rename

And a finder that can help you find long file names,
but where you must do the renaming file by file your self:

Long Filename Finder

Let's say you want to shorten file names to 8 characters long.
Type %b(1,8).%e in Siren's expression field. Change the number
(8) to tyour liking. "%e" means the extension.

The syntax in The Rename is slightly different, but follows the same
logic, so if 8 is the number then:

-PRLeft,8-.-curext-

Some other nice features I have noticed about The Rename program,
regarding very long file names: It has configurable options (under
View, Options menu) like:

under "General":
Find Long Names
[x] Check Path + Filename (default)
[ ] Filename Only
[ ] Path Only
[ ] Prefix Only

under "Monitor Long Names"
[ ] Monitor Long Names
Maximum Lenth of Name [255] (default)
When a filename is to long:
[ ] Ask confirmation before renaming it
[X] Don't rename it (default)
[ ] Ask me the name
[ ] Truncate the name with given length
Length [ ]

-snip-

WD

Reply   Reply with quote   Complain
Georgi
Veteran MemberPosts: 7,638
Like?
Yean, that's another problem
In reply to Mike Fulton, Feb 18, 2005

I SEEM to remember that in Easy CD, when it recorded and the filename was too long, you had the option of changing it and then when it hit the next filename, change it again.

What I have now sucks, it says it's too long, you acknowledge and then it stops. With 100 000's of thousands of files, it's really, really hard to know where it left off!

I even had OVER 4.7gb in the particular directory I'm trying to copy (including subidrectories) and even by todays standards, that's still a lot of files.

Strangely enough though, I did a backup on the SAME DVD-RAM drive maybe a year ago and it's sitting there as proof that this worked then.

I DON'T recall making any files since then with exceptionally long filenames (not longer than my usual, VERY descriptive filenames) but then, my memory isn't that good either.

I think if I got an option to rename it, it would work good but would it then continue to the next file or I would have to start all over again.

I'm thinking that this might some kind of Juliet or non Juliet compatibility?
Windows limitation? Whatever the problem is, I have to find a solution.

My HD the other day started sounding funky and the reason for buying this RAM drive is of course, back up.

As it stands right now, I can't ghost my drives and my RAM drive don't seem to be doing me much good

I've got all these great intentions when I get a new computer and nothing seems to work out for me.

Do you know of any software out there that will do unlimited filenames or anything? I mean, copy, burn software or anything?

Mind you, if this is going to be a problem, I need to take care of the filenames once and for all but it's not really been a problem before so I wonder if it's just the fact that I'm dragging and dropping files or maybe I have put my files under another subdirectory which put it past the limit>

I don't THINK I did but again, I've been know to be wrong, so..

George

Reply   Reply with quote   Complain
Georgi
Veteran MemberPosts: 7,638
Like?
Hmm..
In reply to WufD0g, Feb 18, 2005

The "The Rename" proggy sounds like something that might work for me (off to try to find it...) and the ? option sounds interesting.

Actually, I just tried it out while typing this. It works fine but is of course not as elegant as a program doing this for you and letting you change the names.

What I really need though is a backup/burn program where I can just drag and drop the files and THEN it tells me they're too long or they're not and let's me change them.

The reason being; I don't know how long the filenames can be? Is there a different requirement for different burn/backup programs or is it windows?

Is it 255 characters TOTAL including the directories? Ie, is it 255 PATH length or filename?

Thanks

George

Reply   Reply with quote   Complain
Georgi
Veteran MemberPosts: 7,638
Like?
I did a few tests
In reply to Georgi, Feb 18, 2005

I just did a few tests.

I made a few filenames in word and I counted them with word count including the spaces.

I made a 100, a 150, 200, 250 and 255 character file.

I made five new files in the Root directory and gave them the different filenames.

All worked fine up to 255. I then tried to copy them into the different directories.

The longest wouldn't make it (Windows wouldn't let me, it was too long) so I kept copying files until it told me I couldn't.

From what I could see when copying, it IS the total path (255)

So, now to find something that will change them all. Going to try to download some of these renaming proggies.

Thanks again guys and if you have other ideas, software or solutions, please let me know.

George

Reply   Reply with quote   Complain
SteveB
Veteran MemberPosts: 3,087
Like?
Re: I did a few tests
In reply to Georgi, Feb 18, 2005

FWIW I tested Nero 6 when it first came out and it could only backup path+filenames of 104 characters to CD with all the Joliet options ticked , though I believe that may have changed now. I never tried DVD.

A fix was to put all the long files in a zip and back that up.

Georgi wrote:

I just did a few tests.

I made a few filenames in word and I counted them with word count
including the spaces.

I made a 100, a 150, 200, 250 and 255 character file.

I made five new files in the Root directory and gave them the
different filenames.

All worked fine up to 255. I then tried to copy them into the
different directories.

The longest wouldn't make it (Windows wouldn't let me, it was too
long) so I kept copying files until it told me I couldn't.

From what I could see when copying, it IS the total path (255)

So, now to find something that will change them all. Going to try
to download some of these renaming proggies.

Thanks again guys and if you have other ideas, software or
solutions, please let me know.

George

-- hide signature --

C75OUZ

Reply   Reply with quote   Complain
Georgi
Veteran MemberPosts: 7,638
Like?
That would work, wouldn't it?
In reply to SteveB, Feb 18, 2005

Yeah, that would work because the only thing that matters is the filename of the zip, right?

Good idea

The question is, can I just do a search for long filenames from the search function and when I find them, somehow just copy them to a zip directory or something?

As for the Joliet and filenames. I seem to remember having problems early on when recording things with Easy CD on CD recorders. I was having filename problems then (the ONLY reason I upgraded to win95 in the old days was LONG filename support) AND I believe I had the Joliet option checked so not sure what the deal is with that.

I recently read something about Joliet and it should be 255 total, at least with the whole path but still, a lot more than 105 or whatever the exact number was.

Thanks

George

Reply   Reply with quote   Complain
Keyboard shortcuts:
FForum MMy threads