Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Uuencode & Uudecode - file gets corrupted Post 302442501 by aishwarya_rai on Wednesday 4th of August 2010 01:06:39 PM
Old 08-04-2010
Quote:
Originally Posted by fpmurphy
These are the vendor supplied version of the commands, correct? Not something you developed?
Correct, Vendor specific only.


Quote:
Originally Posted by fpmurphy
What platform and OS version?
AIX 5.3 TL10

Well, I guess its the same issue as in this post by 'Charles':
https://www.unix.com/unix-advanced-expert-users/136192-uuencode-then-uudecode-results-dont-match-original-33-time.html

Are there any patches/upgrades available to uuenoce/uudecode to correct this issue?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

detecting corrupted file

Hello, Newbie question: How can I detect a corrupted file from a script (ksh)? Thank you, Martin (6 Replies)
Discussion started by: starless
6 Replies

2. UNIX for Advanced & Expert Users

UUencode UUdecode

Could any 1 send me the details for uuencode and decode . I am working on something which was coded by some1 else using these two commands . I am having a a pwd file with password in the encrypted form as y\215G\216!A\231Ò.:¹... they use a key file which decrpt that pwd file ....key file... (2 Replies)
Discussion started by: myelvis
2 Replies

3. HP-UX

passwd file corrupted

Good Day Our HP box was hacked and the passwd file has been altered,there are only 2 user accounts active,and these dont have any administrative rights.I need to edit the passwd file to correct the su and root entries. Does any body have any suggestions as to how i can do this with out the root... (10 Replies)
Discussion started by: cantona7
10 Replies

4. HP-UX

Could be a corrupted file?

Hello! Do you know the meaning of... "crw-rw---- 1 informix informix 64 0x020001 Jan 21 2004 rifxroot" I don't know what the first "c" means. Furthermor, if I try to copy this file (rifxroot) it appears a message: "cp: cannot open rifxroot: No such device or address" I don't... (1 Reply)
Discussion started by: kaugrs
1 Replies

5. UNIX for Dummies Questions & Answers

may a corrupted .gz file be repaired?

Preparing for a move to a new server, I needed to offload about somewhat over a gigabyte of newsfeeds that my website collects, and that I had been saving on the server. I tarred them and zipped them into about a dozen smaller files of about 150Mb each. All seemed well. I downloaded them onto my... (3 Replies)
Discussion started by: JohnTinker
3 Replies

6. Shell Programming and Scripting

uuencode & uudecode - permissions

$ ls -l example_1.sh -rwxr--r-- 1 vsetm7am nofiles 918 Sep 5 19:54 example_1.sh $ stat -c %a example_1.sh 744 $ uuencode "test.file" <example_1.sh >uuexample.uu $ uudecode uuexample.uu $ ls -l test.file -rw-r--r-- 1 vsetm7am nofiles 918 Sep 7 14:44 test.file How come that the user... (2 Replies)
Discussion started by: MartyIX
2 Replies

7. Solaris

WTMPX File corrupted

Hi All I work on solaris 8, 9 and 10 platforms and have encountered an error which is my wtmpx files appear to be corrupted as all entries contain the date 1970 (the birth of unix). Now this is obviously not the case, so my query is: 1 - Can the existing wtmpx files be manipulated to... (6 Replies)
Discussion started by: drestarr96
6 Replies

8. Red Hat

.bash_profile file corrupted

Hi, Unexpectedly i entered wrong entries in .bash_profile for my user which has administrative permissions. So, i am getting errors for every command. I dont have backup file also, so any body can help me how to recover it. Regards, Mastan (7 Replies)
Discussion started by: mastansaheb
7 Replies

9. Shell Programming and Scripting

Uuencode & Mailx

hi, i am trying to send a pdf attachment which has a name of 200 characters using uuencode and mailx. But the email is not getting delivered. uuencode <filename.pdf> <filename.pdf> | mailx -s "Test" <email_id> (2 Replies)
Discussion started by: ATWC
2 Replies

10. UNIX for Dummies Questions & Answers

After Ftp'ing file to destination how to check the file if it is in correct ASCII and not corrupted

Hi Folks, While transferring file from FTP software like Filezilla the files gets corrupted. Is there any way I can check if the recently transferred file is in ASCII and not corrupted. I have tried using file -i filename command which does tell if the file character set is ASCII or binary... (6 Replies)
Discussion started by: Khan28
6 Replies
UUENCODE(1)						    BSD General Commands Manual 					       UUENCODE(1)

NAME
uuencode, uudecode, b64encode, b64decode -- encode/decode a binary file SYNOPSIS
uuencode [-m] [-o output_file] [file] name uudecode [-cimprs] [file ...] uudecode [-i] -o output_file b64encode [-o output_file] [file] name b64decode [-cimprs] [file ...] b64decode [-i] -o output_file [file] DESCRIPTION
The uuencode and uudecode utilities are used to transmit binary files over transmission mediums that do not support other than simple ASCII data. The b64encode utility is synonymous with uuencode with the -m flag specified. The b64decode utility is synonymous with uudecode with the -m flag specified. The uuencode utility reads file (or by default the standard input) and writes an encoded version to the standard output, or output_file if one has been specified. The encoding uses only printing ASCII characters and includes the mode of the file and the operand name for use by uudecode. The uudecode utility transforms uuencoded files (or by default, the standard input) into the original form. The resulting file is named either name or (depending on options passed to uudecode) output_file and will have the mode of the original file except that setuid and exe- cute bits are not retained. The uudecode utility ignores any leading and trailing lines. The following options are available for uuencode: -m Use the Base64 method of encoding, rather than the traditional uuencode algorithm. -o output_file Output to output_file instead of standard output. The following options are available for uudecode: -c Decode more than one uuencoded file from file if possible. -i Do not overwrite files. -m When used with the -r flag, decode Base64 input instead of traditional uuencode input. Without -r it has no effect. -o output_file Output to output_file instead of any pathname contained in the input data. -p Decode file and write output to standard output. -r Decode raw (or broken) input, which is missing the initial and possibly the final framing lines. The input is assumed to be in the traditional uuencode encoding, but if the -m flag is used, or if the utility is invoked as b64decode, then the input is assumed to be in Base64 format. -s Do not strip output pathname to base filename. By default uudecode deletes any prefix ending with the last slash '/' for security reasons. EXAMPLES
The following example packages up a source tree, compresses it, uuencodes it and mails it to a user on another system. When uudecode is run on the target system, the file ``src_tree.tar.Z'' will be created which may then be uncompressed and extracted into the original tree. tar cf - src_tree | compress | uuencode src_tree.tar.Z | mail user@example.com The following example unpacks all uuencoded files from your mailbox into your current working directory. uudecode -c < $MAIL The following example extracts a compressed tar archive from your mailbox uudecode -o /dev/stdout < $MAIL | zcat | tar xfv - SEE ALSO
basename(1), compress(1), mail(1), uucp(1) (ports/net/freebsd-uucp), uuencode(5) HISTORY
The uudecode and uuencode utilities appeared in 4.0BSD. BUGS
Files encoded using the traditional algorithm are expanded by 35% (3 bytes become 4 plus control information). BSD
January 27, 2002 BSD
All times are GMT -4. The time now is 04:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy