2-Search for an app called 'The Unarchiver' and install it. ![]() If you've reached this point though, it's likely that the file is irreparably damaged. It turned out to be that the zip file was encrypted and Archive Utility (Default program to extract zip files in Mac) is unable to extra encrypted files. If you're still unable to open it, comment below with the warning(s) received from the command. After you're returned to the prompt, again attempt to open Repairedversion.zip from your Downloads folder. Navigate to your Downloads folder and double click Repairedversion.zip- it should unzip without issue.Īlternatively, it may not exit cleanly. If it executes cleanly, you'll be directly returned to your prompt. Run the zip command to attempt to repair any corruption and salvage the contents of the archive (again, replace filename.zip with actualname.zip): zip -FF ~/Downloads/filename.zip -out ~/Downloads/Repairedversion.zip Step 3:Īfter confirming it's actually a zip file, attempt to unzip it directly from the command line: unzip ~/Downloads/filename.zip -d ~/Downloads If you don't receive this output, post the output as a comment before proceeding. Zip archive data, at least v2.0 to extract Use file to confirm it's actually a zip file: file ~/Downloads/filename.zip If you wish, you can do this from the command line. For example, if the file is named compressed crap.zip, you'd type compressed\ crap.zip in the command line. If the name of the file contains spaces, you need to enter it differently using the escape \ character. Replace filename.zip with the actual name of the zip file. Enter the location of the file or you can simply drag and drop the file and hit Enter. Now type the following command unzip filelocation.zip. If the zip file is located in the Downloads then change it to cd /Downloads and accordingly for other folders and Hit Enter. Usually when you double-click a zip file, it simply unzips to a folder of the same name. ![]() You can access it by typing "Terminal" into Spotlight.Įnter the command(s) in the steps below into your command line prompt (triple click the line, copy it, and paste it into your prompt). Open Terminal, Type the Following Command cd /Documents. If a zip file gives you errors, it is almost certainly corrupted. However, if you receive the following error: Unable to unarchive into. It's likely that filename.zip is either not actually a. On Macs, you should simply be able to double click on the zipped file to unzip it.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |