Score:1

tar skip trying to compress files by extension

kr flag
qwr

I noticed when compressing a directory with tar+gzip that the compressor was spending a lot of time trying to compress mp4 video files in vain. This makes me wonder: does gzip or any other common compression format (ex. zip, 7z, xz) support skipping compressing files (but still including them uncompressed in the archive) by extension?

cc flag
Did you try tar's -a (autocompress) to determine compression based on suffix?
qwr avatar
kr flag
qwr
@ubfan1 that just chooses the compression tool - it doesn't distinguish the files being compressed?
waltinator avatar
it flag
Were it possible, it would be explained in `man tar`. Have you checked there?
qwr avatar
kr flag
qwr
I suspect it's not possible in tar, but maybe in other compression formats
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.