aonez / aonez/Keka

Hide percentage output in kekatar when using pipes

Đang mở
#146 0 bình luận 0 reaction 1 người được giao Được @aonez nhận Xem trên GitHub
bsdtar enhancement
Ngôn ngữ chính
PHP
Star
7.3k
Fork
294
Merge trung bình
14 ngày 16 giờ
Pull request đã merge (30 ngày)
1

Mô tả

This works well:
`tar -cf - folder1 | /Volumes/Keka/Keka.app/Contents/Resources/keka7z a -si -txz folder1.txz`

But I discovered that this results in a corrupt file:
`/Volumes/Keka/Keka.app/Contents/Resources/kekatar -cf - folder1 | /Volumes/Keka/Keka.app/Contents/Resources/keka7z a -si -txz folder1.txz`

The only difference there is that **kekatar** was used instead of the standard **tar** binary (the one included with macOS Sierra).

When I discovered this, I tested it with a small text file and piped the output from **kekatar** to **dd** to save it as a text file, so I could see what's going on there...

Compared to the output from standard **tar**, it seems that **kekatar** was adding "_KEKA_PROGRESS_6" to the file for some reason, so that's why piping the output from **kekatar** to **keka7z** resulted in a corrupt .txz file that even Keka refused to open.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.