How to Delete Previously Relocated Items Folder (macOS Catalina, 2019)

Previously Relocated Items

If you recently upgraded to macOS Catalina, you might notice a new shortcut on your desktop called Previously Relocated Items.

Previously Relocated Items Folder Desktop Alias

The folder is located under Users/Shared, and it’s usually not very large. For me, it was just 1 MB. As part of the public beta program, I upgraded a couple of times, so I have three Previously Relocated Items folders.

In the folder, Apple has a note explaining what the relocated items are. Well, in short, they are files Apple did not know what to do with during the operating system upgrade.

Even if the folders do not take up much space, I wanted to delete them, because to me they serve absolutely no purpose. I dragged them to the Trash and then tried to empty it, and it wouldn’t let me.

With macOS Catalina, your operating system and your data reside on different volumes for security reasons. Your operating system now has its own volume called Macintosh HD, while your data lives on another volume called Macintosh HD – Data. This is just so that data can not mess with the operating system.

In the process of creating the new volume, the files in the Previously Relocated Items folder were thrown into limbo, and you as the user have to decide their fate. You could just delete the shortcut on your desktop and leave the folder alone, but if you try to delete the folder too, Apple will throw something called System Integrity Protection (SIP) at you and not allow you to empty the Trash.

How to Delete the Folder

Here’s what you can do. You can temporarily disable SIP to delete the Previously Relocated Items folder, and then, of course, you’ll want to turn SIP back on once you are done.

A word of warning, the site, and the author are not responsible for any possible damage or data loss resulted from this process.

Follow these steps to disable SIP:

    1. Boot to Recovery OS by restarting your machine and holding down the Command and R keys at startup.
    2. Launch Terminal from the Utilities menu.
    3. Type in the following command and hit Enter:
csrutil disable

Now you can reboot your machine and empty the Trash.

Remember to enable SIP again following the exact same steps, just with a different command

csrutil enable

Reboot your machine again and you are good to go on your merry way.

How was your macOS Catalina upgrade experience? Are you enjoying the new OS? Let us know in the comments!

How to Extract Images from A .webarchive File Using Terminal

One way to extract content from a .webarchive file is through the Terminal app. The command to use is textutil convert -html.

Saving webpage as a .webarchive file in Safari

The Ariel Atom and Ariel Nomad are unique and beautiful cars. In fact, they are so unique and beautiful I wanted to use images of them for desktop wallpapers.

While there must be other places to look for the images, for me the most obvious choice was Ariel North America’s website. They make the cars, so if anyone’s got great photos it’s them.

A lot of the high-resolution images on the website are available for download and they make for amazing wallpapers too. You just simply need to click on them.

That’s the easy part.

The difficult part is getting those beautiful images the site uses in the banners. You can click on them all you want, but you just don’t get a download or save option.

By now I should mention I was using Safari on my Mac.

First, I tried to save the whole web page in hopes I could somehow maybe get a Zip file with the images in it. However, Safari only allows web pages to be saved in two formats, Page Source and Web Archive. The first one merely saves the source text, while the second one saves the source text as well as the images and other contents. I went with the second format and got a .webarchive file.

Saving Page with Safari Format One: Page SourceSaving Page with Safari Format One: Page Source
Saving Page with Safari Format Two: Web ArchiveSaving Page with Safari Format Two: Web Archive

Now the .webarchive file is not something that you can open using the stock Archive Utility app, or the commonly used third party app “The Unarchiver”.

Also, you might wonder if it helps to change the file’s extension name to .zip. Well, it doesn’t. 

Extracting content from .webarchive file

One way to extract the images from the .webarchive file is through the Terminal app. Here’s how.

1 – First, press Command and space to launch Spotlight, type in “Terminal” and hit Enter. That’ll open the Terminal app.

2 – Then type in this command without hitting Enter. Note there is a space at the end after “html”. 

textutil -convert html

3 – Lastly, drag the .webarchive folder into Terminal. Hit Enter and you’ll find all the extracted files in the same folder where the .webarchive file is located. Using Terminal Command to Extract Images from .webarchive FileOh, one more thing, did I mention I was using Safari to visit the site and download images? It turns out it’s much easier with Google’s Chrome.

With Chrome, you can simply save the web page using the “Webpage, Complete” format and that’ll give you a folder with all the page content in it, including the images.

 
 
Saving Web Page with Chrome

Lesson of the day?

If there’s anything that I learnt from this experience, it’s that Chrome is a better web browser. I mean, Safari and Edge are great too, especially when you use them to download Chrome.