cat hello.gif | uuencode hello.gif | mail -s "hello" haha@pei.com
这时候你的邮箱里就会有这个文件的编码了以begin开始,end结尾。复制这些内容到一个文件里,保存为name.uue。
使用uudecode命令解uuencode的编码
uudecode test.uue -o test.源文件后缀名
在windows环境下可以直接用winrar解压name.uue
注意:uudecode需要sharutil包
这时候你的邮箱里就会有这个文件的编码了以begin开始,end结尾。复制这些内容到一个文件里,保存为name.uue。
使用uudecode命令解uuencode的编码
uudecode test.uue -o test.源文件后缀名
在windows环境下可以直接用winrar解压name.uue
注意:uudecode需要sharutil包