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

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



Ahoy

While on the subject ...

On my Debian boxes, I have a handy little tool named "flip", which flips DOS
files to UNIX. and vice versa. You simply type flip -w filename to make it
DOS or flip -u filname to make it UNIX, or even flip -u dir/*.* to flip a
directory at a time.

Is there a version of this for Red Hat, or something similar?

Aloha
Davis

----- Original Message -----
From: "Rickard Osser" <ricky@xxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Thursday, March 09, 2000 4:45 AM
Subject: 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>
> >
> >