[英]How does this zipfile print a message to my console when it's unzipped?
我從FontSpace.com下載了一種字體
並使用unzip my_font.zip
然后打印以下內容:
Archive: kimberly-geswein_just-realize.zip
_____ _ ____
| ___|__ _ __ | |_/ ___| _ __ __ _ ___ ___
| |_ / _ \| '_ \| __\___ \| '_ \ / _` |/ __/ _ \
| _| (_) | | | | |_ ___) | |_) | (_| | (_| __/
|_| \___/|_| |_|\__|____/| .__/ \__,_|\___\___|.com
|_|
Visit us at http://www.fontspace.com for more
information on this font, or for thousands of
more fonts!
inflating: JustRealize.ttf
inflating: JustRealizeBold.ttf
extracting: KGFonts-TOU.txt
這是如何實現的? 我不是指解壓縮,而是指廣告的印刷。
在命令行上,您可以使用zipnote
命令(通常與zip
命令一起提供)來執行此操作。
從聯機幫助頁:
Example:
zipnote foo.zip > foo.tmp
ed foo.tmp
... then you edit the comments, save, and exit ...
zipnote -w foo.zip < foo.tmp
技巧是將“注釋”放在該.tmp
文件的末尾,該文件由zipnote
命令讀回到.zip
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.