Return to site

Terminal For Mac Lion

broken image


Apple Mac OS X Lion is now available to general public. The Mac OS X 10.7 Lion is available for installation only from the Mac App Store. This guide will teach you how to create a bootable USB Flash drive of Mac OS X Lion 10.7 and install Lion from USB, rather than downloading it from Mac App Store on each and every Mac computer you own. Macos terminal mac lion applescript. Asked Apr 3 '19 at 7:42. 23 2 2 bronze badges. 2answers 924 views Cannot install Mac OS X Lion due to disk errors. I'm trying to install Mac OS X Lion after accidentally having erased my disk in order to reboot my iMac, which I did without backing it up. On a separate USB drive, I.

Since macOS is based on Unix there are a number of ways to compress files and folders within the filing system using Unix based application code, below are a few options using the Terminal or command line interface (cli). The default command line application interface in macOS is the Terminal and is stored in /Applications/Utilities.

File and folder compression saves on file size and ensures the contents are captured and delivered or stored as one monolithic file. A compressed file which contains files and folders is generally referred to as an archive. Here are some built-in compression applications you can use including zip, tar, gz, bz2, gz and dmg.

ZIP – Cross Platform

First up is ZIP one of the most commonly used compression techniques used across all platforms

To compress

To extract

If you want to make a zip without those invisible Mac resource files such as '_MACOSX' or '._Filename' and .ds store files, use the '-X' option in the command so:

TAR.GZ – Cross Platform

Second up is TAR, an old favorite on Unix/Linux – you add the GZ for the compression – compresses tighter than zip

To compress

To extract

TAR.BZ2 – Cross Platform

A variation on TAR GZ but with better compression than both tar.gz and zip.

To compress

To extract

GZ

Without the tar

To extract

DMG – macOS Only

This one is macOSnative only – for a GUI interface use /Applications/Utilities/Disk Utility – for command line use:

Cloud backup for a mac

To create

To mount

To view

To Eject Java runtime 6 for mac.

You can also use a number of different formats for creating a .dmg

  • UDZO – Compressed image (default)
  • UDRO – Read-only image
  • UDBZ – Better compressed image
  • UDRW – Read/Write image
  • UDTO – DVD disk image

That's the low down, the more common compression packages available will typically be covered in one of the above.

When you're booting your Mac from the recovery partition and are planning to reinstall OS X, you might be met by the following message:

An error occurred while preparing the installation. Try running again

Now, if you haven't used your Mac for a while, the error might be caused by an incorrect system date setting. You can check this by going to utilities and opening the terminal. Once in the terminal enter the following command and hit return/enter:

The result of this command will be the date that the system currently has been set to. For some reason, it might have been reset to 2001, in which case we need to set it to the right date. To do this, we enter a new command. This command will be entered as follows:

Every bracket should be replaced with a two-digit number based on UTC time. Below you see what the command should be for your current time and date – . To avoid trouble with timezones, we will use UTC time instead (). Which means, you can just enter it exactly like this:

Enter the command and hit return. You can then check if it was set correctly by running the first command again. If the date was wrong, it was likely that which caused the error, and after you quit the terminal it should be able to install OS X just fine.

Terminal For Mac Lion

To create

To mount

To view

To Eject Java runtime 6 for mac.

You can also use a number of different formats for creating a .dmg

  • UDZO – Compressed image (default)
  • UDRO – Read-only image
  • UDBZ – Better compressed image
  • UDRW – Read/Write image
  • UDTO – DVD disk image

That's the low down, the more common compression packages available will typically be covered in one of the above.

When you're booting your Mac from the recovery partition and are planning to reinstall OS X, you might be met by the following message:

An error occurred while preparing the installation. Try running again

Now, if you haven't used your Mac for a while, the error might be caused by an incorrect system date setting. You can check this by going to utilities and opening the terminal. Once in the terminal enter the following command and hit return/enter:

The result of this command will be the date that the system currently has been set to. For some reason, it might have been reset to 2001, in which case we need to set it to the right date. To do this, we enter a new command. This command will be entered as follows:

Every bracket should be replaced with a two-digit number based on UTC time. Below you see what the command should be for your current time and date – . To avoid trouble with timezones, we will use UTC time instead (). Which means, you can just enter it exactly like this:

Enter the command and hit return. You can then check if it was set correctly by running the first command again. If the date was wrong, it was likely that which caused the error, and after you quit the terminal it should be able to install OS X just fine.

Buying a Tesla? Use my referral link at the purchase of your new Model 3, S or X and get 1500km / 1000mi of free supercharging!Get free supercharging

Related

A year of cold showers

It's now been well over a year since I started this habit. As a matter of fact, during this time I have replaced the warm showers all together. This was the second time I wanted to experiment with this habit, but the last time I gave up quickly – I…

Terminal For Mac Lion 10.7

Quick Tip: Open folders in Sublime Text 2

In this post I will describe how you can add an item to the context menu in OS X for opening a folder in Sublime Text 2. Secondly we will make it easier to open a file or folder in Sublime from the terminal. Start off by opening Automater, and…

Best Terminal For Mac

7 reasons owning a Tesla is awesome

Terminal For Mac Lion Download

Plenty of people today still have their reservation about buying an electric car. So, after having driven exclusively electric for the last two years, why is it that I think Teslas are awesome and wouldn't even consider going back? 1. It's a computer on wheels I came from a new…





broken image