问题
I am wondering, i like 7z compression but how do i compress data only? i dont want a file in the archive with file info. Just raw data, how can i do this? it would also be nice if i can remove headers too but that isnt necessary.
回答1:
From man 7z:
-si Read data from StdIn (eg: tar cf - directory | 7z a -si directory.tar.7z)
来源:https://stackoverflow.com/questions/1284088/encrypt-binary-with-7z-without-filenames