STACKS
As of +30 days +90 days +1 year
macos-disk-space-and-archive
35 within valid-until
0 past it, not rechecked

How to free disk space on macOS properly and move files safely to a server or to cheap cloud storage

What to delete on a full Mac (caches, simulators, snapshots, purgeable space), how to measure the real gain when there are APFS clones, where an archive is cheapest to keep (Hetzner Storage Box, B2, R2, Glacier, not iCloud) and how to move data with verification before the original is deleted (November 2026).

The real gain is measured with df before and after, not with a sum of du. An APFS clone shares blocks with the original c1, and even clean-up tools such as Mole admit that their estimates count shared blocks several times c2. The system counts Time Machine snapshots and purgeable files as available space and frees them by itself c3 c4, so deleting them by hand rarely gains anything.

First delete what will rebuild itself. Xcode shows how much removing each simulator runtime recovers c6, and simctl runtime delete --outdated removes the outdated ones in bulk c7. Docker.raw is a sparse file, so its size in Finder lies c8. Mail's data is not touched by hand: deleting attachments from an IMAP account deletes them on the server too c9. iCloud Drive (Archive) is a local copy made when iCloud Drive was turned off c5. Whether those files are still in the cloud has to be checked before deleting.

iCloud Drive is not fit to be an archive. Deleting a file on one device deletes it everywhere c19, and a single file or folder can be at most 50 GB c20. The cheapest serious option is a Hetzner Storage Box: 1 TB for 3.20 € net (BX11) or 5 TB for 10.90 € net (BX21) c21 c22 c23 c24, unlimited traffic c25 and SSH on port 23 with rsync, Borg and restic c26 c27. The box's snapshots live in the box itself, so they are not a second copy c28. As a second place, with another provider: B2 for 6.95 USD/TB with free egress up to 3x the stored data c29 c30, or R2 with no egress fees c31. Glacier Deep Archive costs about 1 USD/TB but has a minimum of 180 days c32 c33.

For an archive restic or Kopia is better than bare rsync: they encrypt and deduplicate c35. The full verification restic check --read-data downloads the whole repository c34, which on a Storage Box costs only time, and in a cloud with paid egress real money. The system /usr/bin/rsync is openrsync, compatible with 2.6.9, with a cut-down set of options c10 c11. It rejects -X c12, and in GNU rsync 3.x the letter -E means something else than in openrsync c13, so scripts do not carry over between the two.

macOS metadata gets lost on the way. A plain rclone copy loses xattrs c15, names in NFD can produce duplicates when copied back c16, and bundles (.fcpbundle, .photoslibrary, .logicx) are first packed with the macOS tar, which keeps xattrs and ACLs c17. A push or a git bundle does not take the working tree or the stash c18. The original is deleted only after a successful verification: rclone check compares hashes without changing anything on either side c14; for restic, check --read-data plus restoring a sample and diff -r.

Claims

In our words

In the source's words

c1checked on 24 Nov 2026valid until 22 Feb 2027

An APFS clone (clonefile, cp -c) shares its data blocks with the original, so deleting one copy frees no space while the other exists.

The cloned file dst shares its data blocks with the src file

man:clonefile · T1

c2checked on 24 Nov 2026valid until 22 Feb 2027

Mole admits that its fast folder estimates can count shared APFS blocks more than once.

fast folder estimates can still count shared blocks more than once.

github.com · T2

c3checked on 24 Nov 2026valid until 22 Feb 2027

A Mac counts the space taken by local Time Machine snapshots as available.

Your Mac counts the space used by snapshots as available storage.

support.apple.com · T1

c4checked on 24 Nov 2026valid until 22 Feb 2027

Purgeable files cannot be removed by hand; macOS removes them itself when space runs short.

you can't manually remove the files that are designated purgeable, but macOS removes them as space is required

support.apple.com · T1

c5checked on 24 Nov 2026valid until 22 Feb 2027

The folder iCloud Drive (Archive) is a local copy of the files, created when iCloud Drive is turned off.

If you keep a local copy of your files, they copy to a folder called iCloud Drive (Archive) in your home folder.

support.apple.com · T1

c6checked on 24 Nov 2026valid until 22 Feb 2027

Xcode Settings > Components shows how much space removing each component recovers, simulator runtimes included.

Xcode shows the installed and enabled components along with the amount of storage you can recover if you remove them.

developer.apple.com · T1

c7checked on 24 Nov 2026valid until 22 Feb 2027

xcrun simctl runtime delete --outdated removes the runtimes for which a newer version exists.

--outdated | -o Delete runtimes that have a newer version available with the same runtime identifier.

man:simctl · T1

c8checked on 24 Nov 2026valid until 22 Feb 2027

Docker.raw is a sparse file, and many tools show its maximum size instead of the actual one.

Note that many tools report the maximum file size, not the actual file size.

docs.docker.com · T1

c9checked on 24 Nov 2026valid until 22 Feb 2027

In Mail, deleting attachments from an IMAP account also deletes them from the server, with no way to get them back.

attachments are deleted from the mail server and can't be retrieved.

support.apple.com · T1

c10checked on 24 Nov 2026valid until 22 Feb 2027

/usr/bin/rsync on macOS 27 is openrsync, compatible with the rsync 2.6.9 protocol.

openrsync: protocol version 29

man:rsync · T1

c11checked on 24 Nov 2026valid until 22 Feb 2027

openrsync accepts only a part of rsync's options.

openrsync accepts only a subset of rsync’s command line arguments

derflounder.wordpress.com · T4

c12checked on 24 Nov 2026valid until 22 Feb 2027

openrsync rejects the -X flag (GNU rsync's extended attributes).

rsync: invalid option -- X

man:openrsync-flagtest · T1

c13checked on 24 Nov 2026valid until 22 Feb 2027

In GNU rsync 3.x -E means executability, not extended attributes.

--executability, -E preserve executability

man7.org · T1

c14checked on 24 Nov 2026valid until 22 Feb 2027

rclone check compares sizes and hashes (MD5/SHA1) and changes nothing on either side.

It compares sizes and hashes (MD5 or SHA1) and logs a report of files that don't match. It doesn't alter the source or destination.

rclone.org · T1

c15checked on 24 Nov 2026valid until 22 Feb 2027

A plain rclone copy does not keep macOS extended attributes; only local cloning keeps them.

Cloning also preserves macOS-specific metadata such as extended attributes, which a normal copy does not

rclone.org · T1

c16checked on 24 Nov 2026valid until 22 Feb 2027

A cloud that recomposes the Unicode of names from macOS (NFD) can produce duplicates when copied back.

Some cloud storage systems will then recompose the unicode, resulting in duplicate files if the data is ever copied back to a local filesystem.

rclone.org · T1

c17checked on 24 Nov 2026valid until 22 Feb 2027

The macOS tar stores extended attributes and ACLs in AppleDouble format.

Archive or extract extended ACLs and extended file attributes using copyfile(3) in AppleDouble format.

man:tar · T1

c18checked on 24 Nov 2026valid until 22 Feb 2027

git bundle does not include the working tree, the index, the stash, the configuration or the hooks.

You will not include other local state, such as the contents of the index, working tree, the stash, per-repository configuration, hooks, etc.

git-scm.com · T1

c19checked on 24 Nov 2026valid until 22 Feb 2027

In iCloud Drive, deleting a file on one device deletes it on all of them.

When you delete a file on one device, it deletes on every device that you're signed in to with the same Apple Account.

support.apple.com · T1

c20checked on 24 Nov 2026valid until 22 Feb 2027

iCloud Drive has a limit of 50 GB for a single file or folder.

the 50 GB limit for an individual folder or file in iCloud Drive.

support.apple.com · T1

c21checked on 24 Nov 2026valid until 24 Dec 2026

A Hetzner Storage Box BX11 costs 3.20 € a month net.

€ 3.20 per month, excl. VAT

hetzner.com · T1

c22checked on 24 Nov 2026valid until 24 Dec 2026

A Hetzner Storage Box BX11 has 1 TB.

| Available storage: | 1 TB |

hetzner.com · T1

c23checked on 24 Nov 2026valid until 24 Dec 2026

A Hetzner Storage Box BX21 costs 10.90 € a month net.

€ 10.90 per month, excl. VAT

hetzner.com · T1

c24checked on 24 Nov 2026valid until 24 Dec 2026

A Hetzner Storage Box BX21 has 5 TB.

| Available storage: | 5 TB |

hetzner.com · T1

c25checked on 24 Nov 2026valid until 24 Dec 2026

A Storage Box has unlimited traffic.

Each Storage Box comes with unlimited traffic.

docs.hetzner.com · T1

c26checked on 24 Nov 2026valid until 22 Feb 2027

A Storage Box has an extended SSH service on port 23 with rsync and BorgBackup.

The Storage Box provides an extended SSH service on port 23. With this service, you can use rsync, BorgBackup, and some additional command line tools.

docs.hetzner.com · T1

c27checked on 24 Nov 2026valid until 22 Feb 2027

Restic works with a Storage Box natively through the SFTP backend.

Restic is natively supported with the SFTP backend.

docs.hetzner.com · T1

c28checked on 24 Nov 2026valid until 22 Feb 2027

A deleted Storage Box snapshot is lost for good, because the snapshots live in the same box.

it means that this specific snapshot is **lost permanently**.

docs.hetzner.com · T1

c29checked on 24 Nov 2026valid until 24 Dec 2026

Backblaze B2 costs 6.95 USD per TB a month.

$6.95 / TB / mo

backblaze.com · T2

c30checked on 24 Nov 2026valid until 24 Dec 2026

Egress from B2 is free up to 3x the average stored data, then 0.01 USD/GB.

Up to 3x of average monthly data stored, then $0.01/GB for additional egress

backblaze.com · T2

c31checked on 24 Nov 2026valid until 24 Dec 2026

Cloudflare R2 charges nothing for egress in any storage class.

There are no charges for egress bandwidth for any storage class.

developers.cloudflare.com · T1

c32checked on 24 Nov 2026valid until 24 Dec 2026

S3 Glacier Deep Archive costs about 1 USD per TB a month.

At just $0.00099 per GB-month (or $1 per TB-month)

aws.amazon.com · T2

c33checked on 24 Nov 2026valid until 24 Dec 2026

S3 Glacier Deep Archive has a minimum storage duration of 180 days.

S3 Glacier Deep Archive has a minimum storage duration of 180 days

aws.amazon.com · T1

c34checked on 24 Nov 2026valid until 22 Feb 2027

restic check --read-data downloads all pack files of the repository, which costs traffic.

Since `--read-data` has to download all pack files in the repository, beware that it might incur higher bandwidth costs than usual

restic.readthedocs.io · T1

c35checked on 24 Nov 2026valid until 22 Feb 2027

Kopia deduplicates content across the whole repository.

Kopia deduplicates content across the entire repository.

kopia.io · T1

This card

Last checked on 24 Nov 2026. As data: JSON, Markdown. A claim's permanent address is its number: stacks.jakubdudek.com/macos-disk-space-and-archive/c1.