Save space on your iMac
With Optimize Storage, you can automatically free up space on your iMac by making files available on demand. Your oldest files will be stored in iCloud and on your email IMAP or Exchange server, so you can download them at any time. There are also tools to identify and delete big files.
Optimize storage. To see storage recommendations, go to Apple menu > System Settings, then click General on the side bar. Click Storage on the right to see different recommendations based on how you configured your Mac.
Set options to:
Store in iCloud: Store all files, photos, and messages in iCloud and save space on your Mac.
Desktop and Documents: Store all the files from your Desktop and Documents folders in iCloud Drive. When storage space is needed, iCloud Drive keeps recently opened files on your Mac and makes your oldest files available on demand.
Messages: Store all messages and attachments in iCloud. When storage space is needed, iCloud keeps recent attachments on your Mac and makes your oldest files available on demand.
Even though your files are stored in the cloud, you can access them right where you left them on your iMac. See Access your iCloud content on your iMac.
Optimize storage: Save space on your Mac by optimizing the storage of movies and TV shows in the Apple TV app. You can choose to automatically remove movies or TV shows from your iMac after you watch them. You can download them again at any time.
Empty Trash automatically: Automatically erase items that have been in the Trash for more than 30 days.
To help you save space as you work, macOS also:
Prevents you from downloading the same file twice from Safari
Alerts you to remove installer software when you finish installing a new app
Clears logs and caches that are safe to remove when you’re low on storage
Learn more. See Optimize storage space on your Mac in the macOS User Guide.