Gossamer Forum
Home : Products : DBMan : Installation :

Unix tar.gz files

Quote Reply
Unix tar.gz files
Simple question -- how do I decompress the tar.gz dbman file on my unix server? I have used tar -xvf myfile.tar to work on plain tar files but am unfamiliar with the tar.gz format. Please advise.
Also is there a utility that will allow me to edit the dbman files in say a windows program like notepad and then strip the carriage returns from the file before uploading to my unix server?
Quote Reply
Re: Unix tar.gz files In reply to
I'm afraid I can't help with the un-tar.gz part of your question. I've never figured that out either.

As for the other question, I use a text editor called "Programmer's File Editor" which you can get for free at
http://download.com/pc/software/0,332,0-64580-s,1000.html?st.dl.search.results.tdtl

It will save files in a Unix format, strippiing all the line-feeds. Also, it gives you line numbers so it's easier to debug any syntax errors you might have.


------------------
JPD





Quote Reply
Re: Unix tar.gz files In reply to
To unarchive the .tar.gz do:

gunzip dbman.tar.gz
tar xvf dbman.tar

and presto, it should be unarchived.

To remove Windows Line feeds, just make sure to transfer all your programs in ASCII mode in your FTP program.

Cheers,

Alex