Re: Macintosh filenames with reserved chars

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Eric \"Shubes\"
Date:  
To: plug-discuss
Subject: Re: Macintosh filenames with reserved chars
Entelin wrote:

> I have a client with about 1TB worth of files stored on an old mac
> server which is being replaced by a small samba cluster. Unfortunately
> the users were very liberal when naming their files naming them things
> such as.
>
> *wh at/e\v er!.tiff
>
> lol, so of course samba doesnt like that very much and gives me a
> "invalid filename" error, so the question is, is there a way for samba
> to rename that incoming filename just taking out the invalid chars?
>
> resulting in something valid like
>
> wh atev er.tiff
>
> thanks :)
>

You might be able to use the "mangled map" configuration parameter. The
documentation isn't very clear whether or not you can replace something
with a null or not, but might work using double-quotes e.g. "".

HTH

-- 
-Eric 'shubes'
"There is no such thing as the People;
  it is a collectivist myth.
  There are only individual citizens
  with individual wills
  and individual purposes."
-William E. Simon (1927-2000),
     Secretary of the Treasury (1974-1977)
  "A Time For Truth" (1978), pg. 237


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss