Operating System - HP-UX
1837108 Members
2132 Online
110112 Solutions
New Discussion

Re: How do I convert the email content to a real zip/tar file?

 
SOLVED
Go to solution
jane zhang
Regular Advisor

How do I convert the email content to a real zip/tar file?

Hi all,
I received the following email which contains a zipped tar file inside of it. How do I convert this to a real zip/tar file?

See below for the email content from microsoft outlook.

begin 664 dosim2_files.tar.gz
M'XL(`````````^1;6U?;2+;NU_`7SDNU0X_MQ%B2+T"4=CHT.`EK"+"`I&=-
M2'N$5;:5R));DC%TDO/;S[Z42B6#3>:LGH>S#JL[E*2Z[.NW]ZXJ_#@-IJW!
M*`AE:OWPG_FQ[8Z]L].%W[;=[CKTV^ELTV_U\X.]T^VTVML=>[L-[YWV=MOY
MH?L?HJ?T,T\S+X$E_3B:K>\GDW3-=\V(^OU_Y,MQW%0_]N=[DZWU2+]=W:V091_.27W_/P_U__C'ZUYFEAA//1"ZRJ(K)E,0K&U
.....

(X<
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: How do I convert the email content to a real zip/tar file?

Hi Jane,

ftp the file with binary mode to your hpbox.

hpux 11.x

# /usr/contrib/bin/gunzip -l dosim2_files.tar.gz

should give uncompressed size.

# /usr/contrib/bin/gunzip dosim2_files.tar.gz


If you have a 10.x hpbox you have to use

# uncompress dosim2_files.tar.gz


Kind regards,

Robert-Jan.


jane zhang
Regular Advisor

Re: How do I convert the email content to a real zip/tar file?

Hi,
This ftp thing and unix gzip and compress won't work on this.

The binary zipped and tarred file was sent by email, it is not an attached file, and the file appears in the email content.

Regards,
Jane

Dietmar Konermann
Honored Contributor
Solution

Re: How do I convert the email content to a real zip/tar file?

Copy the EMail to a file and run "uudecode ". You should get dosim2_files.tar.gz written to your standard directory.

Sometimes it is needed to strip off any leading lines before the "begin" statement. Make sure that all lines of the uuencoded text are aligned... otherwise it may be corrupted.

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
jane zhang
Regular Advisor

Re: How do I convert the email content to a real zip/tar file?

Dietmar,
Thanks, uudecode is what I need.

Jane