image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old May 29th, 2005, 05:25 AM
haredunbar's Avatar
Registered User
 
Join Date: May 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
haredunbar is on a distinguished road
Unhappy Illegal file names??

I have got an linksys NSUL2 networking to a Maxtor USB2 300GB hard drive.

Trying to back up with the bundled Retrospect Express to the hard drive goes well till it halts due to "illegal file names"

Am I going to have to rename all files that contain "/" and other (what other?) "illegal" characters, or is there another way round, ideally without delving too deeply into Linux and command lines, which are in darkest jungle terrirory for me?
Reply With Quote
  #2  
Old May 29th, 2005, 12:13 PM
Person that uses a Mac
 
Join Date: Nov 2003
Location: Berea, Ohio
Posts: 402
Thanks: 0
Thanked 0 Times in 0 Posts
btoth is on a distinguished road
How is the drive formatted? FAT32? FAT32 drives also have length limits as well as stricter character limits. If you can, format it is HFS+.
__________________
Mac Software by Me - ImageReel, Google Maps Address Book Plugin.
Reply With Quote
  #3  
Old May 29th, 2005, 12:28 PM
Mikuro's Avatar
Crotchety UI Nitpicker
 
Join Date: Mar 2005
Posts: 2,497
Thanks: 4
Thanked 15 Times in 14 Posts
Mikuro is on a distinguished road
You might also want to create a disk image on your target volume, and back up to that instead of the main disk. That way you can use HFS+ names without reformatting. Of course, the files won't be accessible outside of Mac OS X; dunno if that would be a problem for you.
__________________
Mac mini — 1.25GHz G4, 1GB RAM — OS 10.5.5

Useful programs: Privoxy, Butler, ffmpegX, VLC, Perian, Tofu, Wcalc
Reply With Quote
  #4  
Old May 29th, 2005, 01:34 PM
fryke's Avatar
Super Moderator
 
Join Date: Sep 2000
Location: macosx.com
Posts: 13,277
Thanks: 2
Thanked 20 Times in 18 Posts
fryke has a spectacular aura aboutfryke has a spectacular aura about
Strangely enough, "/" shouldn't be allowed in a Mac OS X file name. Files that you change to have a "/" in the file name, actually show a ":" in the file name if you look at them in the Terminal. ":" is a character that _wasn't_ allowed in Mac OS. Strange things...

What you're looking for, I guess, is a tool for batch renaming, so you don't have to do it by hand. A search for "batch rename" on VT reveals quite a bunch of utilities for you: http://www.versiontracker.com/php/se...t%5B%5D=macosx ...
__________________
MacBook Air 13" 1.6 GHz, 2 GB RAM, 80 GB HD. Mac OS X 10.5.5
MacBook 13" 1.83 GHz, 2 GB RAM, 160 GB HD. Mac OS X 10.5.5
Hackintosh Core2Duo 2.4 GHz, 2 GB RAM, 160 GB HD. Mac OS X 10.5.5
iPhone 3G 16 GB (v2.1), AppleTV 1G 40 GB (v2.1)

Mac user since 1987, Apple Product Professional 2007, 2008.
Reply With Quote
  #5  
Old May 29th, 2005, 03:09 PM
Mikuro's Avatar
Crotchety UI Nitpicker
 
Join Date: Mar 2005
Posts: 2,497
Thanks: 4
Thanked 15 Times in 14 Posts
Mikuro is on a distinguished road
Quote:
Originally Posted by fryke
Strangely enough, "/" shouldn't be allowed in a Mac OS X file name. Files that you change to have a "/" in the file name, actually show a ":" in the file name if you look at them in the Terminal. ":" is a character that _wasn't_ allowed in Mac OS. Strange things...
They're considered as colons in "Unix-y" programs that use slashes for delimiters, but they're considered as slashes in Carbon programs that use the Classic-style colon-delimited paths (like the Finder; it accepts and displays slashes as slashes).

This is one reason I'm GLAD the Finder is still Carbon; I use slashes in my filenames all the time (for putting the date in the name of backups, or URL clippings, for example).
__________________
Mac mini — 1.25GHz G4, 1GB RAM — OS 10.5.5

Useful programs: Privoxy, Butler, ffmpegX, VLC, Perian, Tofu, Wcalc
Reply With Quote
  #6  
Old May 29th, 2005, 03:58 PM
haredunbar's Avatar
Registered User
 
Join Date: May 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
haredunbar is on a distinguished road
Thanks for all the above....

I think my preferred route to success will be to create a script that makes a disk image of the files to be backed up and then backup that file as Mikuro suggested.

Not sure quite how to get round the problem that each disk image will have the same name so retrospect MAY not be happy to overwrite without my OKing it....
... but we'll soon find out!
Reply With Quote
  #7  
Old May 29th, 2005, 04:19 PM
haredunbar's Avatar
Registered User
 
Join Date: May 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
haredunbar is on a distinguished road
Ah...

Unfortunately, my hard drive will struggle to fit a disk image the same size as my home folder (which is what I had wanted to backup).

Plan b?

Unfortunately, the Linksys doesnt offer the choice of HFS+ as far as I can see (it is basically an unix box as far as I can tell)

Strictly speaking, I'm not certain that the problem is "/" but certainly, several files which couldn't be copied contained "/".... but maybe there are other illegal characters??
Reply With Quote
  #8  
Old May 29th, 2005, 05:48 PM
fryke's Avatar
Super Moderator
 
Join Date: Sep 2000
Location: macosx.com
Posts: 13,277
Thanks: 2
Thanked 20 Times in 18 Posts
fryke has a spectacular aura aboutfryke has a spectacular aura about
could be. certainly the linux box doesn't allow "/"in file names, since the slash is the path-delimiting character. If you use the slash for dates, just use "-" instead (it's the international way, anyway). Oh, that was Mikuro doing that date thing...

Either way: There might come a day when the Finder ain't Carbon any longer. So you might want to avoid both "/" and ":" in file names.
__________________
MacBook Air 13" 1.6 GHz, 2 GB RAM, 80 GB HD. Mac OS X 10.5.5
MacBook 13" 1.83 GHz, 2 GB RAM, 160 GB HD. Mac OS X 10.5.5
Hackintosh Core2Duo 2.4 GHz, 2 GB RAM, 160 GB HD. Mac OS X 10.5.5
iPhone 3G 16 GB (v2.1), AppleTV 1G 40 GB (v2.1)

Mac user since 1987, Apple Product Professional 2007, 2008.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 07:36 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.