uuencode / uudecode

uuencode - 编码二进制文件

uudecode - 解码由uuencode创建的文件

语法

   uuencode [-m] [ file ] name

   uudecode [-o outfile] [ file ]...

例子

以下示例打src_tree, 对其进行压缩, 对其进行uuencodes并将其邮寄给另一个系统上的用户, 当在目标系统上运行uudecode时,将创建文件`src_tree.tar.Z’,然后可以将其解压缩并提取。

  tar  cf  -   src_tree   |   compress   |   uuencode
  src_tree.tar.Z | mail sys1!sys2!user

uuencode 命令实例:

linux命令:uuencode $file $file | /usr/bin/mailx -s "$file" ${USER} ${USER} "$file" -s /usr/bin/mailx | $file $file uuencode uuencode $file $file | /usr/bin/mailx -s "$file" ${USER}rootopen.com
linux命令:uuencode $file $file | /usr/bin/mailx -s "$file" ${USER} ${USER} "$file" -s /usr/bin/mailx | $file $file uuencode uuencode $file $file | /usr/bin/mailx -s "$file" ${USER}rootopen.com
2018-03-13 21:25:48

linux命令:uuencode archive.tar.gz archive.tar.gz | mail -s "Emailing: archive.tar.gz" user@example.com user@example.com archive.tar.gz" "Emailing: -s mail | archive.tar.gz archive.tar.gz uuencode uuencode archive.tar.gz archive.tar.gz | mail -s "Emailing: archive.tar.gz" user@example.comrootopen.com
linux命令:uuencode archive.tar.gz archive.tar.gz | mail -s "Emailing: archive.tar.gz" user@example.com user@example.com archive.tar.gz" "Emailing: -s mail | archive.tar.gz archive.tar.gz uuencode uuencode archive.tar.gz archive.tar.gz | mail -s "Emailing: archive.tar.gz" user@example.comrootopen.com
2018-03-03 05:26:48

linux命令:uuencode -m $1 /dev/stdout | sed '1d' | sed '$d' | tr -d '\n' | xclip -selection clipboard clipboard -selection xclip | '\n' -d tr | '$d' sed | '1d' sed | /dev/stdout $1 -m uuencode uuencode -m $1 /dev/stdout | sed '1d' | sed '$d' | tr -d '\n' | xclip -selection clipboardrootopen.com
linux命令:uuencode -m $1 /dev/stdout | sed '1d' | sed '$d' | tr -d '\n' | xclip -selection clipboard clipboard -selection xclip | '\n' -d tr | '$d' sed | '1d' sed | /dev/stdout $1 -m uuencode uuencode -m $1 /dev/stdout | sed '1d' | sed '$d' | tr -d '\n' | xclip -selection clipboardrootopen.com
2018-04-28 19:58:48

linux命令:uuencode -m <filename> <filename> <filename> <filename> -m uuencode uuencode -m <filename> <filename>rootopen.com
linux命令:uuencode -m <filename> <filename> <filename> <filename> -m uuencode uuencode -m <filename> <filename>rootopen.com
2018-03-28 05:55:48

Linux的Bash命令行(A-Z排序)