uuencode(1)
uuencode(1) π the "turn ur file into email-safe text" manual
okay bestie, gather round, because we're talking about uuencode β the User Commands girlie who takes your messy binary file and makes it β¨textβ¨ so it can survive the journey through email without getting absolutely destroyed. π¦
πΈ NAME πΈ
uuencode β encode a file into email friendly text π
β¨ SYNOPSIS β¨
uuencode [-flags] [-flag [value]] [--option-name[[=| ]value]] [<in-file>] <output-name>
like. that's the whole vibe check right there. output-name is not optional, bestie, she NEEDS it. π
π DESCRIPTION π
So here's the tea: uuencode makes an ASCII representation of a file so you can yeet it through channels that would otherwise corrupt the data. no cap. Specifically β email cannot handle binary data and will often even insert a character when the six character sequence "0rom " is seen. like, why is she like this. π
uuencode will read in-file if provided, and otherwise read data from standard in, and write the encoded form to standard out. The output will begin with a header line for use by uudecode, giving it the resulting suggested file output-name and access mode. And if the output-name is specifically /dev/stdout, then uudecode will emit the decoded file to standard out. iconic behavior honestly. π
Note:uuencodeuses buffered input and assumes that it is not hand typed from a tty. The consequence is that at a tty, you may need to hitCtl-Dseveral times to terminate input. yes, SEVERAL. don't panic, just keep pressing. π
π OPTIONS π
-m,--base64β convert using base64. β¨
By default, uuencode will encode using the traditional conversion. It is slower and less compact than base64. The encoded form of the file is expanded by 37% for UU encoding and by 35% for base64 encoding (3 bytes become 4 plus control information). so like, base64 is the glow-up, fr fr.
-e,--encode-file-nameβ encode the output file name. π
Since output file names may contain characters that are not handled well by various transmission modes, you may specify that the output-name be base64 encoded as well. (Traditional uuencoding of the file name is not supported.) sorry bestie, that's just how it is.
-h,--helpβ Display usage information and exit. π«Ά-!,--more-helpβ Pass the extended usage information through a pager. π-R [cfgfile],--save-opts [=cfgfile]β Save the option state to cfgfile. The default is the last configuration file listed in the OPTION PRESETS section, below. The command will exit after updating the config file. π-r cfgfile,--load-opts=cfgfile,--no-load-optsβ Load options from cfgfile. Theno-load-optsform will disable the loading of earlier config/rc/ini files.--no-load-optsis handled early, out of order. she's not like other flags. π-v [{v|c|n --version [{v|c|n}]}]β Output version of program and exit. The default mode isv, a simple version. Thecmode will print copyright information and thenwill print the full copyright notice. β
π OPTION PRESETS π
Any option that is not marked as not presettable may be preset by loading values from configuration ("RC" or ".INI") file(s). The file "$HOME/.sharrc" will be used, if present. cute lil home directory file, we love her. π
π§ STANDARDS π§
This implementation is compliant with P1003.2b/D11. periodt. π―
π FILES π
See OPTION PRESETS for configuration files. that's it. that's the section. short queen. π
π₯ EXIT STATUS π₯
One of the following exit values will be returned:
0(EXIT_SUCCESS) β Successful program execution. π1(EXIT_FAILURE) β The operation failed or the command syntax was not valid. π66(EX_NOINPUT) β A specified configuration file could not be loaded. π70(EX_SOFTWARE) βliboptshad an internal operational error. Please report it toautogen-users@lists.sourceforge.net. Thank you. π
π SEE ALSO π
uudecode(1), uuencode(5) β the sister commands, go say hi. π«Ά
πΈ HISTORY πΈ
The uuencode command first appeared in BSD 4.0. an elder. a legend. a main character since day one. β
π AUTHORS π
Free Software Foundation, Inc.
π COPYRIGHT π
Copyright (C) 1994-2015 Free Software Foundation, Inc. all rights reserved. This program is released under the terms of the GNU General Public License, version 3 or later. π«Ά
π BUGS π
Please put sharutils in the subject line for emailed bug reports. It helps to spot the message. π
Please send bug reports to: bug-gnu-utils@gnu.org
π NOTES π
This manual page was AutoGen-erated from the uuencode option definitions. she wrote herself, we're just living in her world. β¨
and that's the whole page, bestie!! πβ¨π this is GNU sharutils (4.15.2), dated 30 May 2015, and it's been serving uuencode(1) realness ever since. slay, hydrate, and always terminate your tty input with enough Ctl-Ds. love u, bye!! π¦π
π
π¦ where this page comes from
- alpine 3.22: sharutils-doc 4.15.2-r6 Β· GPL-3.0-or-later
- alpine 3.23: sharutils-doc 4.15.2-r6 Β· GPL-3.0-or-later
- alpine 3.24: sharutils-doc 4.15.2-r6 Β· GPL-3.0-or-later
- arch rolling: sharutils 4.15.2-6 Β· GPL-3.0-or-later
- centos-stream 10: sharutils 4.15.2-28.el10 Β· GPL-3.0-or-later AND (GPL-3.0-or-later AND BSD-4-Clause) AND (LGPL-3.0-or-later OR BSD-3-Clause) AND LGPL-2.0-or-later AND LGPL-3.0-or-later AND LicenseRef-Fedora-Public-Domain AND GFDL-1.3-or-later
- centos-stream 9: sharutils 4.15.2-21.el9 Β· GPLv3+ and (GPLv3+ and BSD) and (LGPLv3+ or BSD) and LGPLv2+ and Public Domain and GFDL
- debian bookworm: sharutils 1:4.15.2-9
- debian trixie: sharutils 1:4.15.2-12
- fedora 43: sharutils 4.15.2-30.fc43 Β· GPL-3.0-or-later AND (GPL-3.0-or-later AND BSD-4-Clause) AND (LGPL-3.0-or-later OR BSD-3-Clause) AND LGPL-2.0-or-later AND LGPL-3.0-or-later AND LicenseRef-Fedora-Public-Domain AND GFDL-1.3-or-later
- fedora 44: sharutils 4.15.2-31.fc44 Β· GPL-3.0-or-later AND (GPL-3.0-or-later AND BSD-4-Clause) AND (LGPL-3.0-or-later OR BSD-3-Clause) AND LGPL-2.0-or-later AND LGPL-3.0-or-later AND LicenseRef-Fedora-Public-Domain AND GFDL-1.3-or-later
- nixos 26.05: sharutils 4.15.2
- nixpkgs unstable: sharutils 4.15.2
- opensuse-leap 16.0: sharutils 4.15.2-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: sharutils 4.15.2-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: sharutils 4.15.2-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: sharutils 4.15.2-160000.2.2 Β· GPL-3.0-or-later
- ubuntu jammy: sharutils 1:4.15.2-5build1
- ubuntu noble: sharutils 1:4.15.2-9
- ubuntu questing: sharutils 1:4.15.2-12
- ubuntu resolute: sharutils 1:4.15.2-13
- ubuntu stonking: sharutils 1:4.15.2-13
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms