Questions tagged [uuencode]

Uuencode is an algorithm for converting binary files to text. It is taken from the phrase "Unix-to-Unix encoding," as the first implementation was the Unix program "uuencode." It was originally used to transmit files over email and Usenet; it has been supplanted by MIME and Base64.

Uuencode is an algorithm for converting binary files to text. It is taken from the phrase "Unix-to-Unix encoding," as the first implementation was the Unix program "uuencode." It was originally used to transmit files over email and Usenet; it has been supplanted by MIME and Base64. See also .

58 questions
1
vote
2 answers

Python: How to decode uuencoded text

I've been reading about uuencoding and was wondering how to decode the following example given in this link using Python. https://en.wikipedia.org/wiki/Uuencoding Original text: Cat Uuencoded text: #0V%T Python 2 $ python -c 'print…
user9013730
1
vote
0 answers

Problems with using uuencode on RHEL to send mail attachment

I have a unique situation where I'm going from an AIX platform to RHEL for a vendor supported application. Within the application, I can send a command (limited to the amount of characters I can send) that will email me results of a print job. To…
1
vote
1 answer

OSX Terminal Mail Attachment as body

I am trying to send an attachment which I created as mail body, but don't find any solution. Here is my code, find . -type f -name "*.html" > textfile.txt uuencode /Users/bariscaliskan/Desktop/testfold/textfile.txt file.txt | mail -s "mailing test"…
1
vote
2 answers

Remove html and uuencode from .txt file

I want to process a text file which contains a lot of html and uuencode characters: For example, see the .txt file at the following link: https://www.sec.gov/Archives/edgar/data/1522690/000121390016011794/0001213900-16-011794.txt I am using the…
adrCoder
  • 3,145
  • 4
  • 31
  • 56
1
vote
0 answers

Uuencode vs Base64 encode: why do pack('m') and pack('u') in Ruby return strings of different lengths?

According to the specs they should be same length, and a string of length 36 should translate to a string of length 48, for example: bin = "123456789012345678901234567890123456" [49] pry(main)> [bin].pack("m").length => 49 [50] pry(main)>…
bbozo
  • 7,075
  • 3
  • 30
  • 56
1
vote
0 answers

Not able to send html body using mailx along with attachement

I tried command : mailx -s "subject" "xzy@ygmail.com" < abc.html Using this command html content is displayed as text which is not desirable. above thing happened using : While using command : mailx -a 'Content-Type: text/html' -s "my subject"…
Ravi K M
  • 77
  • 4
  • 16
1
vote
3 answers

Adding Null Padding to UUEncoder in C

I know I'm close to finishing this UUEncoder function; I'll be using it to communicate with an embedded device. But for my life, I can't figure out how to get the null padded characters inserted properly at the end. I've been trying to follow the…
C. Thomas Brittain
  • 376
  • 1
  • 5
  • 12
1
vote
1 answer

Uuencoded image to byte array

How do I convert uuencoded image to byte array? My image is encoded like this: begin 644 image.jpg M_]C_X``02D9)1@`!``$`8`!@``#__@`?3$5!1"!496-H;F]L;V=I97,@26YC ********************** MANY LINES…
Hnus
  • 912
  • 2
  • 9
  • 24
1
vote
3 answers

Sending attachments with mailx and uuencode

I am in the process of trying to run a ksh script which usually sits on an AIX machine on its new host Linux node. The code I am running looks like this: (uuencode $path/info.dat info.csv; uuencode $RESULTS results.log) | mail -s "Info"…
user1197252
1
vote
1 answer

Add date to mysqldump command

I want to have my db backed up and emailed to me (the size of my db is very small so email is not problem). I have the following mysqldump command in a cron running weekly and it is working perfectly. mysqldump -e --user=username…
banacan
  • 23
  • 9
1
vote
1 answer

script to move folder based on modified date

first post. Background- My wife is a photographer, she take a lot of pictures and saves them to a drive (mnt/STStorage) while she is editing them, but never cleans up afterward. I have a drive that i would like to move the folders to based on…
chip
  • 13
  • 1
  • 6
1
vote
0 answers

convert_uuencode returns just 2 bytes

I have this code: $input = fopen("input.uue", "rb"); $output = fopen("output.tar.gz", "wb"); $string = fread( $input, 10000000 ); $converted_string = convert_uudecode( $string ); echo $converted_string; echo fwrite( $output, $converted_string…
alexeydemin
  • 2,672
  • 3
  • 27
  • 26
1
vote
1 answer

uuencode zipfile in java

I am a novice user trying to figure out how to use uuencode method. We have a form that allows only a single text file to be uploaded. Now it looks like only zip files will be uploaded. I am trying to include uuencode method to convert bytes to…
user1719051
  • 109
  • 2
  • 14
0
votes
1 answer

HTML email with attachments

A friend of mine wants me to help him make a HTML email template that contains a header and footer image. Originally I thought it would be easy enough to just create a tabular html email that used remote images inside tags for the header and…
brux
  • 3,197
  • 10
  • 44
  • 78
0
votes
0 answers

I am getting encoded files as body in linux using mail

I am trying to send multiple files via Linux and below command worked fine on AIX but on Linux its sending encoded content in email body. Please help to understand how to send the files as attachment and decoded. I am a noob here ( cat…
Preeti Maurya
  • 431
  • 1
  • 7
  • 17