Can I use lzma compression, without using “tar”, on OSX 10.10.3? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionHow to XZ a directory with TAR using maximum compression?Is it possible to mount a gzip compressed dd image on the fly?Difference between --xz and --lzma in GNU tar?tar compression without directory structuretar append to file in archiveSet LZMA compression level via tarRestoring file system using tar causes login loopAdding compression to .tar file?What invocation will use LZMA to compress tar output on my Mac (OSX 10.12.x)?Creating a tarball from named pipes using tar or python's tarfile module
Why do the resolve message appear first?
Is there any way for the UK Prime Minister to make a motion directly dependent on Government confidence?
Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?
How come Sam didn't become Lord of Horn Hill?
Delete nth line from bottom
Significance of Cersei's obsession with elephants?
Should I use a zero-interest credit card for a large one-time purchase?
Fantasy story; one type of magic grows in power with use, but the more powerful they are, they more they are drawn to travel to their source
Compare a given version number in the form major.minor.build.patch and see if one is less than the other
また usage in a dictionary
How do pianists reach extremely loud dynamics?
Is there a holomorphic function on open unit disc with this property?
Where are Serre’s lectures at Collège de France to be found?
Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?
What causes the direction of lightning flashes?
Can an alien society believe that their star system is the universe?
How can I use the Python library networkx from Mathematica?
Can a party unilaterally change candidates in preparation for a General election?
How to tell that you are a giant?
Would "destroying" Wurmcoil Engine prevent its tokens from being created?
Do square wave exist?
Maximum summed powersets with non-adjacent items
On SQL Server, is it possible to restrict certain users from using certain functions, operators or statements?
An adverb for when you're not exaggerating
Can I use lzma compression, without using “tar”, on OSX 10.10.3?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionHow to XZ a directory with TAR using maximum compression?Is it possible to mount a gzip compressed dd image on the fly?Difference between --xz and --lzma in GNU tar?tar compression without directory structuretar append to file in archiveSet LZMA compression level via tarRestoring file system using tar causes login loopAdding compression to .tar file?What invocation will use LZMA to compress tar output on my Mac (OSX 10.12.x)?Creating a tarball from named pipes using tar or python's tarfile module
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I can create tar files compressed using lzma as such:
$ ls ./DbDumps
alpha.dmp
beta.dmp
delta.dmp
$ XZ_OPT=-9 tar cJf dbDumps.tar.xz DbDumps
But, what I really want to do ( but cannot ) is compress each individual file, and then create the tar file. for example:
$ cd DbDumps
$ xz.exe *dmp
$ cd ..
$ tar cf dbDumps.tar DbDumps
Should I investigate HomeBrew ? XZ.pkg ?
Actually, back in October www.aeyoun.com claimed that Yosemite, other than via tar, does not support *.xz file compression. Is this correct? Might it be that "*xz" is doable, but Apple just won't say "it is officially supported"??
files tar compression xz
add a comment |
I can create tar files compressed using lzma as such:
$ ls ./DbDumps
alpha.dmp
beta.dmp
delta.dmp
$ XZ_OPT=-9 tar cJf dbDumps.tar.xz DbDumps
But, what I really want to do ( but cannot ) is compress each individual file, and then create the tar file. for example:
$ cd DbDumps
$ xz.exe *dmp
$ cd ..
$ tar cf dbDumps.tar DbDumps
Should I investigate HomeBrew ? XZ.pkg ?
Actually, back in October www.aeyoun.com claimed that Yosemite, other than via tar, does not support *.xz file compression. Is this correct? Might it be that "*xz" is doable, but Apple just won't say "it is officially supported"??
files tar compression xz
Are you saying that you cannot do it becausexzis not installed? I would imagine thatxzmust surely be installed, because you are able to gettarto use it.
– Celada
Jul 4 '15 at 3:29
@Celada No. the "xz" executable is not in my $PATH. I could look around the file system for the executable. But,, can you recommend a place for me to get the executable and install it? Is "homebrew"or"XZ.pkg" where I should start?
– david
Jul 4 '15 at 3:42
Homebrew definitely works. That (or maybe Macports) is how I havexzinstalled on my ancient MacOS 10.5 system, where Apple doesn't provide it. But you shouldn't need to use Homebrew.xzmay not be in your$PATH, but it's got to be in there somewhere sincetaris successfully using it. The heavy-handed way of finding it would befind / -name xz -print.
– Celada
Jul 4 '15 at 4:04
add a comment |
I can create tar files compressed using lzma as such:
$ ls ./DbDumps
alpha.dmp
beta.dmp
delta.dmp
$ XZ_OPT=-9 tar cJf dbDumps.tar.xz DbDumps
But, what I really want to do ( but cannot ) is compress each individual file, and then create the tar file. for example:
$ cd DbDumps
$ xz.exe *dmp
$ cd ..
$ tar cf dbDumps.tar DbDumps
Should I investigate HomeBrew ? XZ.pkg ?
Actually, back in October www.aeyoun.com claimed that Yosemite, other than via tar, does not support *.xz file compression. Is this correct? Might it be that "*xz" is doable, but Apple just won't say "it is officially supported"??
files tar compression xz
I can create tar files compressed using lzma as such:
$ ls ./DbDumps
alpha.dmp
beta.dmp
delta.dmp
$ XZ_OPT=-9 tar cJf dbDumps.tar.xz DbDumps
But, what I really want to do ( but cannot ) is compress each individual file, and then create the tar file. for example:
$ cd DbDumps
$ xz.exe *dmp
$ cd ..
$ tar cf dbDumps.tar DbDumps
Should I investigate HomeBrew ? XZ.pkg ?
Actually, back in October www.aeyoun.com claimed that Yosemite, other than via tar, does not support *.xz file compression. Is this correct? Might it be that "*xz" is doable, but Apple just won't say "it is officially supported"??
files tar compression xz
files tar compression xz
edited Apr 13 at 15:23
Rui F Ribeiro
42.1k1484142
42.1k1484142
asked Jul 4 '15 at 3:15
daviddavid
1033
1033
Are you saying that you cannot do it becausexzis not installed? I would imagine thatxzmust surely be installed, because you are able to gettarto use it.
– Celada
Jul 4 '15 at 3:29
@Celada No. the "xz" executable is not in my $PATH. I could look around the file system for the executable. But,, can you recommend a place for me to get the executable and install it? Is "homebrew"or"XZ.pkg" where I should start?
– david
Jul 4 '15 at 3:42
Homebrew definitely works. That (or maybe Macports) is how I havexzinstalled on my ancient MacOS 10.5 system, where Apple doesn't provide it. But you shouldn't need to use Homebrew.xzmay not be in your$PATH, but it's got to be in there somewhere sincetaris successfully using it. The heavy-handed way of finding it would befind / -name xz -print.
– Celada
Jul 4 '15 at 4:04
add a comment |
Are you saying that you cannot do it becausexzis not installed? I would imagine thatxzmust surely be installed, because you are able to gettarto use it.
– Celada
Jul 4 '15 at 3:29
@Celada No. the "xz" executable is not in my $PATH. I could look around the file system for the executable. But,, can you recommend a place for me to get the executable and install it? Is "homebrew"or"XZ.pkg" where I should start?
– david
Jul 4 '15 at 3:42
Homebrew definitely works. That (or maybe Macports) is how I havexzinstalled on my ancient MacOS 10.5 system, where Apple doesn't provide it. But you shouldn't need to use Homebrew.xzmay not be in your$PATH, but it's got to be in there somewhere sincetaris successfully using it. The heavy-handed way of finding it would befind / -name xz -print.
– Celada
Jul 4 '15 at 4:04
Are you saying that you cannot do it because
xz is not installed? I would imagine that xz must surely be installed, because you are able to get tar to use it.– Celada
Jul 4 '15 at 3:29
Are you saying that you cannot do it because
xz is not installed? I would imagine that xz must surely be installed, because you are able to get tar to use it.– Celada
Jul 4 '15 at 3:29
@Celada No. the "xz" executable is not in my $PATH. I could look around the file system for the executable. But,, can you recommend a place for me to get the executable and install it? Is "homebrew"or"XZ.pkg" where I should start?
– david
Jul 4 '15 at 3:42
@Celada No. the "xz" executable is not in my $PATH. I could look around the file system for the executable. But,, can you recommend a place for me to get the executable and install it? Is "homebrew"or"XZ.pkg" where I should start?
– david
Jul 4 '15 at 3:42
Homebrew definitely works. That (or maybe Macports) is how I have
xz installed on my ancient MacOS 10.5 system, where Apple doesn't provide it. But you shouldn't need to use Homebrew. xz may not be in your $PATH, but it's got to be in there somewhere since tar is successfully using it. The heavy-handed way of finding it would be find / -name xz -print.– Celada
Jul 4 '15 at 4:04
Homebrew definitely works. That (or maybe Macports) is how I have
xz installed on my ancient MacOS 10.5 system, where Apple doesn't provide it. But you shouldn't need to use Homebrew. xz may not be in your $PATH, but it's got to be in there somewhere since tar is successfully using it. The heavy-handed way of finding it would be find / -name xz -print.– Celada
Jul 4 '15 at 4:04
add a comment |
1 Answer
1
active
oldest
votes
Of course you can. Firstly tar in most cases does not include compression, it hands that off to a helper (if it supports it at all). At first that helper was compress (.tar.Z). I have also seen gzip (.tar.gz or .tgz), bzip2 (.tar.bz2), infozip's zip and unzip tools (.tar.zip), and some I cant rember the official names for (.tar.lha, .tar.lhz, .tar.zoo, tar.bz, tar.z). All of these use compression separate from tar. so the easy way to do it would be just to find the path to the xz binary (it would be called xz not xz.exe). If it is not already installed on the system, the easiest way would be to install it from a third party repository like macports. And if all else fails you can always install from source (although I cannot imagine that it would come to this).
awesome. I can take thinks from here. thanks very much.
– david
Jul 4 '15 at 3:48
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f213835%2fcan-i-use-lzma-compression-without-using-tar-on-osx-10-10-3%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Of course you can. Firstly tar in most cases does not include compression, it hands that off to a helper (if it supports it at all). At first that helper was compress (.tar.Z). I have also seen gzip (.tar.gz or .tgz), bzip2 (.tar.bz2), infozip's zip and unzip tools (.tar.zip), and some I cant rember the official names for (.tar.lha, .tar.lhz, .tar.zoo, tar.bz, tar.z). All of these use compression separate from tar. so the easy way to do it would be just to find the path to the xz binary (it would be called xz not xz.exe). If it is not already installed on the system, the easiest way would be to install it from a third party repository like macports. And if all else fails you can always install from source (although I cannot imagine that it would come to this).
awesome. I can take thinks from here. thanks very much.
– david
Jul 4 '15 at 3:48
add a comment |
Of course you can. Firstly tar in most cases does not include compression, it hands that off to a helper (if it supports it at all). At first that helper was compress (.tar.Z). I have also seen gzip (.tar.gz or .tgz), bzip2 (.tar.bz2), infozip's zip and unzip tools (.tar.zip), and some I cant rember the official names for (.tar.lha, .tar.lhz, .tar.zoo, tar.bz, tar.z). All of these use compression separate from tar. so the easy way to do it would be just to find the path to the xz binary (it would be called xz not xz.exe). If it is not already installed on the system, the easiest way would be to install it from a third party repository like macports. And if all else fails you can always install from source (although I cannot imagine that it would come to this).
awesome. I can take thinks from here. thanks very much.
– david
Jul 4 '15 at 3:48
add a comment |
Of course you can. Firstly tar in most cases does not include compression, it hands that off to a helper (if it supports it at all). At first that helper was compress (.tar.Z). I have also seen gzip (.tar.gz or .tgz), bzip2 (.tar.bz2), infozip's zip and unzip tools (.tar.zip), and some I cant rember the official names for (.tar.lha, .tar.lhz, .tar.zoo, tar.bz, tar.z). All of these use compression separate from tar. so the easy way to do it would be just to find the path to the xz binary (it would be called xz not xz.exe). If it is not already installed on the system, the easiest way would be to install it from a third party repository like macports. And if all else fails you can always install from source (although I cannot imagine that it would come to this).
Of course you can. Firstly tar in most cases does not include compression, it hands that off to a helper (if it supports it at all). At first that helper was compress (.tar.Z). I have also seen gzip (.tar.gz or .tgz), bzip2 (.tar.bz2), infozip's zip and unzip tools (.tar.zip), and some I cant rember the official names for (.tar.lha, .tar.lhz, .tar.zoo, tar.bz, tar.z). All of these use compression separate from tar. so the easy way to do it would be just to find the path to the xz binary (it would be called xz not xz.exe). If it is not already installed on the system, the easiest way would be to install it from a third party repository like macports. And if all else fails you can always install from source (although I cannot imagine that it would come to this).
answered Jul 4 '15 at 3:38
hildredhildred
4,82322139
4,82322139
awesome. I can take thinks from here. thanks very much.
– david
Jul 4 '15 at 3:48
add a comment |
awesome. I can take thinks from here. thanks very much.
– david
Jul 4 '15 at 3:48
awesome. I can take thinks from here. thanks very much.
– david
Jul 4 '15 at 3:48
awesome. I can take thinks from here. thanks very much.
– david
Jul 4 '15 at 3:48
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f213835%2fcan-i-use-lzma-compression-without-using-tar-on-osx-10-10-3%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Are you saying that you cannot do it because
xzis not installed? I would imagine thatxzmust surely be installed, because you are able to gettarto use it.– Celada
Jul 4 '15 at 3:29
@Celada No. the "xz" executable is not in my $PATH. I could look around the file system for the executable. But,, can you recommend a place for me to get the executable and install it? Is "homebrew"or"XZ.pkg" where I should start?
– david
Jul 4 '15 at 3:42
Homebrew definitely works. That (or maybe Macports) is how I have
xzinstalled on my ancient MacOS 10.5 system, where Apple doesn't provide it. But you shouldn't need to use Homebrew.xzmay not be in your$PATH, but it's got to be in there somewhere sincetaris successfully using it. The heavy-handed way of finding it would befind / -name xz -print.– Celada
Jul 4 '15 at 4:04