Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
単一の Linux コマンドで複数のテキスト ファイルを圧縮してメールとして送信できますか? で何かを試してみましuuencodeたが、うまくいきませんでした。
uuencode
これは私が使用するものです
tar cz *.txt | uuencode tarball.tgz - | mail -s "The text files you requested" target@destination.com
私が間違っていない場合、7zには、示されているtarコマンドのように、stdoutに直接zipファイルを作成するメソッドがあります。