How do I extract the package prior to installing on Mac?
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
How do I extract the package prior to installing on Mac?
Excuse if this question is a duplicate, I cannot at this point search through thousands of topics. Trying to install TestDisk stable version on Mac OS 10.11. TestDisk doc doesn’t include specific command line for extracting files on Mac, so used Linux command, which returns: tar: Error opening archive: Failed to open 'testdisk-7.0.mac_intel.tar.bz2' Tried Unarchiver but file is greyed out. Archive Utility extracts testdisk-7.0.mac_intel.tar.bz2.cpgz, but then extracts testdisk-7.0.mac_intel.tar.bz2 from that. Continuing continues that loop. The only experience I have with Terminal is a few instances of cut & pasted commands. Hours searching for how to extract a tarball on a Mac got me nowhere. Finally I found GUI Tar, which unpacked it, but the folder testdisk-7.0.mac_intel is empty. Any ideas would be appreciated.
- cgrenier
- Site Admin
- Posts: 5432
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: How do I extract the package prior to installing on Mac?
I don't know what you have done... It seems you have created a cpgz file...
It may be a good idea to download again the archive from https://www.cgsecurity.org
It may be a good idea to download again the archive from https://www.cgsecurity.org
Re: How do I extract the package prior to installing on Mac?
Thanks for the reply. I downloaded a fresh WIP version, but get the same Terminal message: tar: Error opening archive: Failed to open 'testdisk-7.1-WIP.mac_intel.tar.bz2'
Unpacking with GUI Tar opensa an empty folder called testdisk-7.1-WIP.mac_intel
Unpacking with GUI Tar opensa an empty folder called testdisk-7.1-WIP.mac_intel
- cgrenier
- Site Admin
- Posts: 5432
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: How do I extract the package prior to installing on Mac?
I have been able to extract the files withut problem from the archive on the website
tar xvjf testdisk-7.1-WIP.mac_intel.tar.bz2
Re: How do I extract the package prior to installing on Mac?
Thank you for your time. Getting the same result with the WIP file indicated that unpacking with GUI Tar was probably the issue. The following extracts the .bz2 on Mac (presuming the file is in Downloads). In Terminal move to Download directory with
To extract
The file name above should be of the file you're working with. All obvious, except to a command line novice.
Code: Select all
cd ~/Downloads
Code: Select all
tar -jxvf testdisk-7.1-WIP.mac_intel.tar.bz2