Text Conversion

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Mon Oct 15 11:33:15 GMT 2001


Charles,
The reason you got this type of answer, partially, is because
this topic has been discussed <to death> on this list several
times.  You might want to take a look at the searchable archives 
for the samba lists, and see what was decided and why, and other
suggestions for your issue.
Hope this helps,
Don

-----Original Message-----
From: Charles Marcus [mailto:CharlesM at Media-Brokers.com]
Sent: Monday, October 15, 2001 11:45 AM
To: samba at lists.samba.org
Subject: RE: Text Conversion


Joel,

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 -

Charles

-----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.
Joel

> 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
format.

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



-- 
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