Have you ever run out to disk space in your mac? You might need to figure out which files and folders eat most of your disc space.
Option 1: Finding the largest Files
One option is to open the Finder and search the files using 'This Mac' and sort the files by size.
Option 2: Finding the largest Folders
Open the terminal and go to your user folder by typing 'cd ~/' then enter the following command. It will list the largest folders in the sorting order. It may take a while to list. Don't worry about the warning messages.
du -a * | sort -r -n | head -10
Then you can proceed to delete the unnecessary folders
One of the culprits of eating disk space is the XCode app and its related files
Option 1: Finding the largest Files
One option is to open the Finder and search the files using 'This Mac' and sort the files by size.
Option 2: Finding the largest Folders
Open the terminal and go to your user folder by typing 'cd ~/' then enter the following command. It will list the largest folders in the sorting order. It may take a while to list. Don't worry about the warning messages.
du -a * | sort -r -n | head -10
Then you can proceed to delete the unnecessary folders
One of the culprits of eating disk space is the XCode app and its related files