Sorry for my bad English and thanks for any help,
Lorenzo Soncini
lson...@linknet.it
This sounds suspiciously like a tar archive. Try instead
tar tvf file.tar
which should list the contents of the archive.
uuencode creates an encoded version of the input file, and needs a
second argument. See the man page, and also the man page for uudecode.
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GO/! d- s++:+ a+ C++(++++) USBVLHI*++++$ P+ L++ E--- W++ N++ w--- O- V-
PS+
PE- Y+ PGP- t+ 5++ X+ R* tv+ b+ DI++ D G e(*) h++/-- r+++ y?
------END GEEK CODE BLOCK------
-----------------------------------------------------
Bob Hoekstra: Unix Consultant
http://www.khamsin.demon.co.uk
Return mailto:hoeks...@cft.philips.nl
Home mailto:b...@khamsin.demon.co.uk
-----------------------------------------------------
The uuencode command has the following format:
uuencode source_name embedded_name
Try the following command:
uuencode file.tar file.tar > file.uu
In article <01bc69bf$89efdec0$d541...@engineering5.engineering.it>,
"Lorenzo Soncini" <lson...@mbox.linknet.it> writes:
> I need to create a text file from a tar archive using the command
> uuencode. If I use the simple command
> uuencode file.tar
> I see the text file on the screen but if I try to redirect the output in a
> file with the command
> uuencode file.tar > file.text
> the system crate the file but don't write anything in to the file and don't
> stop the command if I don't break the execution with CTRL+C.
Lorenzo,
the uuencode command needs to be used in the following format:
uuencode file.tar file.tar >file.text
The second "file.tar" is put into the header information of "file.text"
so that when someone uses uudecode to return the file to its binary form,
it knows what to call it. Seems a little redundant I know... but truth
is stranger than fiction.
> Sorry for my bad English and thanks for any help,
You got the point across, and I assure you my Italian is far worse ;)
--
/*-------------------------------------------------------------*
* Peter James Naylor ## SysAdmin, Supernal Technologies, Inc. *
*-------------------------------------------------------------*
* pe...@supernal.net ## <http://www.supernal.net> *
*------------------------------------------------*/