How to make timestamps on samba files set by server time, not PC time.

Allen Reese allen at
Thu Mar 18 21:09:41 GMT 1999

On Fri, 19 Mar 1999, Dan Kaminsky wrote:

> > Using quotes as you did will protect you from all kinds of hard-to-track
> > problems.
> Yup.
> Heh, can you give me a quick sed script to replace all non-alphanumeric
> characters(not A-Z, a-z, 1-9, or space) with _ ?
how about something like:

s/[^A-Za-z1-9 ]/_/g
or there may be a tr/ or y/ construct that may do a better job.    ;)

Allen Reese
Senior Software Engineer
Driversoft, Inc.
allen at


More information about the samba-technical mailing list