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 命令一样
我有一个带有集成 CKeditor 的 cms。Ckeditor 替换<?php with <!--?php. 我想在 ckeditor 中编写 php 代码"<div><?php $prod=products($cat_id); ?>....</div>"并将其存储到 MySQL DB.. 并且在查看器的页面上我想输出
<?php with <!--?php
"<div><?php $prod=products($cat_id); ?>....</div>"