[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] How to recover a backup file



Hey Jeff! :)

If our fellow users don't start to learn about problems they won't know
how to solve future problems! :)

One to check if the file is uploaded as a binary is to do:
emacs <filename>

Emacs will say <DOS> in the status-line....

If it's a "dos-file" then you can't run any scripts (shell, perl) as the
linux system won't recognize the file format...

The Key here is to actually use emacs, which will tell you straight away
what is wrong as "ls/file" and other programs don't report this.

Best regards,

Rickard Osser
Manager
Osser Brosoft AB		Distributor of Cobalt Networks servers
Maria Bangata 6			Computer Consultants
S-118 63 Stockholm, Sweden	Networking, DOS/Win/Mac/Linux/Unix
Tel: +46-8-798 29 27		E-mail: ricky@xxxxxxxx
Fax: +46-8-668 89 10		WWW: http://www.brosoft.net

On Wed, 8 Mar 2000, Jeff Lasman wrote:

> At 12:11 AM 3/9/00 +0100, you wrote:
> 
> >If you copy the file to your raq, then open it in emacs, do your see "^M"
> >after each line?
> >
> >If you do you have to replace <CR><LF> with only <LF> and it should work
> >, after stripping the header...
> 
> And I presume there's a reason why you didn't tell him that the easy way to 
> do this is to send it from a Windows system to a linux machine as file type 
> "ASCII"?
> 
> <smile>
> 
> Jeff
> --
> Jeff Lasman <jblists@xxxxxxxxxxxxx>
> 
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>