Text Conversion

Charles Marcus CharlesM at Media-Brokers.com
Mon Oct 15 08:55:12 GMT 2001


Not everyone is a programmer, and if there is a way to do this automatically
when the files are copied, so much the better, even if you are a programmer.

Man, answers like that really gripe me sometimes.

On the flipside, thans for the scripts -


-----Original Message-----
From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
Behalf Of Joel Hammer
Sent: Sunday, October 14, 2001 1:24 PM
To: John Gaughan; samba at lists.samba.org
Subject: Re: Text Conversion

Samba doesn't do this for you.
There is software out there that gives you drag and drop conversion from
windows to linux/unix text formatting, and some of it is free.
But, it is so easy to do, cat file | sed 's/\x0d$//', why bother?
To go back, cat file | sed 's/^.*$/&\x0D/'
This takes a newer version of sed.

> Is there any way to get Samba to convert text files like FTP does? I
> searched everywhere in the online documentation for a way to specify file
> extensions to convert, but found nothing.
> If I drag and drop a text file from my Windows machine to a Samba share, I
> would like Samba to convert the end-of-line characters to the Linux

To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list