Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
General Discussions
Switcher Hangout (Windows to Mac)
The disk is full on my MacBook Air
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Raz0rEdge" data-source="post: 1822898" data-attributes="member: 110816"><p>You can empty the trash from the command line. Follow these instructions <strong>exactly</strong> and double-check each command to ensure you are doing the right thing in the right place.</p><p></p><p>Open up a Terminal windows (Applications->Utilities->Terminal) and enter the following command</p><p>[CODE]</p><p>cd ~/.Trash</p><p>[/CODE]</p><p></p><p>Now, confirm you are in the right place with</p><p>[CODE]</p><p>pwd</p><p>[/CODE]</p><p></p><p>This should give you a response like <strong>/Users/<username>/.Trash</strong>. If that isn't the case, <strong>DO NOT CONTINUE!</strong> Close the terminal with CMD+q and go back to step 1 above and restart. Ignoring this will have dire consequences and you've been warned.</p><p></p><p>If the response was correct, then do</p><p>[CODE]</p><p>ls -lS | head</p><p>[/CODE]</p><p></p><p>This will list the contents of the folder sorted by the largest files first and only show you about 9 or so files.</p><p></p><p>You are now ready to delete the first file in the list since it is the largest file. Do so with</p><p>[CODE]</p><p>rm <name of file></p><p>[/CODE]</p><p></p><p>Enter the name of the file as you listed (copy and paste if it helps) to remove it. If the name has spaces in it, you will find it easier to put it between double quotes to avoid issues.</p><p></p><p>Once you've deleted the first file, confirm by using the command <strong>ls -lS | head </strong>again. The file you deleted shouldn't show up anymore.</p><p></p><p>Now try to empty the trash using the UI. If it complains, remove the next largest file from the Terminal, rinse and repeat until the UI starts to function.</p><p></p><p>The MBA traditionally has either 128GB or 256GB of storage and it's easy to fill things up. For nominal macOS operation you should leave 20% of the disk free at all times, so in the future pay attention to your free space.</p></blockquote><p></p>
[QUOTE="Raz0rEdge, post: 1822898, member: 110816"] You can empty the trash from the command line. Follow these instructions [B]exactly[/B] and double-check each command to ensure you are doing the right thing in the right place. Open up a Terminal windows (Applications->Utilities->Terminal) and enter the following command [CODE] cd ~/.Trash [/CODE] Now, confirm you are in the right place with [CODE] pwd [/CODE] This should give you a response like [B]/Users/<username>/.Trash[/B]. If that isn't the case, [B]DO NOT CONTINUE![/B] Close the terminal with CMD+q and go back to step 1 above and restart. Ignoring this will have dire consequences and you've been warned. If the response was correct, then do [CODE] ls -lS | head [/CODE] This will list the contents of the folder sorted by the largest files first and only show you about 9 or so files. You are now ready to delete the first file in the list since it is the largest file. Do so with [CODE] rm <name of file> [/CODE] Enter the name of the file as you listed (copy and paste if it helps) to remove it. If the name has spaces in it, you will find it easier to put it between double quotes to avoid issues. Once you've deleted the first file, confirm by using the command [B]ls -lS | head [/B]again. The file you deleted shouldn't show up anymore. Now try to empty the trash using the UI. If it complains, remove the next largest file from the Terminal, rinse and repeat until the UI starts to function. The MBA traditionally has either 128GB or 256GB of storage and it's easy to fill things up. For nominal macOS operation you should leave 20% of the disk free at all times, so in the future pay attention to your free space. [/QUOTE]
Verification
Post reply
Forums
General Discussions
Switcher Hangout (Windows to Mac)
The disk is full on my MacBook Air
Top