Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2005 01:28 AM
07-01-2005 01:28 AM
uuencode -m test test1.
points to be assigned.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2005 01:35 AM
07-01-2005 01:35 AM
Re: uuencode
The reason for the two filenames is for input, and what is encoded into the output.
For example, lets look at the headers involved:
[bekar@elfgrove tmp]$ uuencode data test.txt
begin 644 test.txt
.... encoded data here ...
And with '-m':
[bekar@elfgrove tmp]$ uuencode -m data test.txt
begin-base64 644 test.txt
... encoded data here ...
The idea is you redirect (using >) or pipe (|) the ouput of UUEncode to another application or file.
UUDecode on the other hand will take a filename (or data-stream/pipe), and output a file based on the name on the 'begin' line of the encoded data. This can be overridden with the '-o' flag. This is only available on the UUDECODE application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2005 01:36 AM
07-01-2005 01:36 AM
Re: uuencode
uuencode writes to standard output. If you want it to write to test1:
uuencode -m test > test1
greetzz
Donald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2005 01:36 AM
07-01-2005 01:36 AM
Re: uuencode
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2005 03:26 AM
07-01-2005 03:26 AM
Re: uuencode
I tried teh other suggestion with re-direct > but that doesn't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2005 08:56 AM
07-01-2005 08:56 AM
Re: uuencode
Consider the following commands:
dos2unix
unix2dos(1) mac2unix(1)
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2005 11:18 AM
07-01-2005 11:18 AM
Re: uuencode
uuencode -m binfile binfile > file.uuencode
Then transfer 'file.uuencode' to the remote machine, and then:
uudecode file.uuencode
This will extract 'binfile'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2005 07:08 PM
07-03-2005 07:08 PM
Re: uuencode
If you want to grab ascii out of a binary, you can use the strings command:
strings binfile > ascifile
Is this what you want to do ?
Donald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2005 10:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2005 06:05 AM
07-05-2005 06:05 AM