Void folder is taking megabytes of space in OSX
xxx@MacBook- ~/D/p/a/Project5_min> du -sh *
2.6M app
4.0K build.gradle
60K gradle
4.0K gradle.properties
8.0K gradlew
4.0K gradlew.bat
4.0K instruction.txt
4.0K local.properties
4.0K Project5.iml
4.0K settings.gradle
xxx@MacBook-Pro ~/D/p/a/Project5_min> du -sh
36M .
I am trying to determine what is taking so much space in Project5 folder. I used du -sh *
to get a list of all files and folders and their size. Then I used du -sh
to determine the main folder size itself.
Space taken by the files listed after the firs command is around 2.7M, space taken by the main folder is 36M
36 - 2.7 = 33.3. What is happening with 33MB of space in this folder? How can I determine which file or folder is taking the missing memory?
macos fish macos-mojave
add a comment |
xxx@MacBook- ~/D/p/a/Project5_min> du -sh *
2.6M app
4.0K build.gradle
60K gradle
4.0K gradle.properties
8.0K gradlew
4.0K gradlew.bat
4.0K instruction.txt
4.0K local.properties
4.0K Project5.iml
4.0K settings.gradle
xxx@MacBook-Pro ~/D/p/a/Project5_min> du -sh
36M .
I am trying to determine what is taking so much space in Project5 folder. I used du -sh *
to get a list of all files and folders and their size. Then I used du -sh
to determine the main folder size itself.
Space taken by the files listed after the firs command is around 2.7M, space taken by the main folder is 36M
36 - 2.7 = 33.3. What is happening with 33MB of space in this folder? How can I determine which file or folder is taking the missing memory?
macos fish macos-mojave
add a comment |
xxx@MacBook- ~/D/p/a/Project5_min> du -sh *
2.6M app
4.0K build.gradle
60K gradle
4.0K gradle.properties
8.0K gradlew
4.0K gradlew.bat
4.0K instruction.txt
4.0K local.properties
4.0K Project5.iml
4.0K settings.gradle
xxx@MacBook-Pro ~/D/p/a/Project5_min> du -sh
36M .
I am trying to determine what is taking so much space in Project5 folder. I used du -sh *
to get a list of all files and folders and their size. Then I used du -sh
to determine the main folder size itself.
Space taken by the files listed after the firs command is around 2.7M, space taken by the main folder is 36M
36 - 2.7 = 33.3. What is happening with 33MB of space in this folder? How can I determine which file or folder is taking the missing memory?
macos fish macos-mojave
xxx@MacBook- ~/D/p/a/Project5_min> du -sh *
2.6M app
4.0K build.gradle
60K gradle
4.0K gradle.properties
8.0K gradlew
4.0K gradlew.bat
4.0K instruction.txt
4.0K local.properties
4.0K Project5.iml
4.0K settings.gradle
xxx@MacBook-Pro ~/D/p/a/Project5_min> du -sh
36M .
I am trying to determine what is taking so much space in Project5 folder. I used du -sh *
to get a list of all files and folders and their size. Then I used du -sh
to determine the main folder size itself.
Space taken by the files listed after the firs command is around 2.7M, space taken by the main folder is 36M
36 - 2.7 = 33.3. What is happening with 33MB of space in this folder? How can I determine which file or folder is taking the missing memory?
macos fish macos-mojave
macos fish macos-mojave
asked Jan 25 at 16:36
kmbkmb
1155
1155
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I suspect you have hidden files or directories ie begining with .
If you do then du -sh *
does not find them as * expands to the non hidden entries only.
Try du -h
to show all the directories.
You are right, I did not realize that -sh * option is not showing hidden files. Thanks for your help.
– kmb
Jan 25 at 17:22
1
If there are a lot of subfolders, you can usedu -hd1
to list only the top-level directories.
– Gordon Davisson
Jan 25 at 19:04
add a comment |
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1398463%2fvoid-folder-is-taking-megabytes-of-space-in-osx%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I suspect you have hidden files or directories ie begining with .
If you do then du -sh *
does not find them as * expands to the non hidden entries only.
Try du -h
to show all the directories.
You are right, I did not realize that -sh * option is not showing hidden files. Thanks for your help.
– kmb
Jan 25 at 17:22
1
If there are a lot of subfolders, you can usedu -hd1
to list only the top-level directories.
– Gordon Davisson
Jan 25 at 19:04
add a comment |
I suspect you have hidden files or directories ie begining with .
If you do then du -sh *
does not find them as * expands to the non hidden entries only.
Try du -h
to show all the directories.
You are right, I did not realize that -sh * option is not showing hidden files. Thanks for your help.
– kmb
Jan 25 at 17:22
1
If there are a lot of subfolders, you can usedu -hd1
to list only the top-level directories.
– Gordon Davisson
Jan 25 at 19:04
add a comment |
I suspect you have hidden files or directories ie begining with .
If you do then du -sh *
does not find them as * expands to the non hidden entries only.
Try du -h
to show all the directories.
I suspect you have hidden files or directories ie begining with .
If you do then du -sh *
does not find them as * expands to the non hidden entries only.
Try du -h
to show all the directories.
edited Jan 25 at 17:27
answered Jan 25 at 17:03
MarkMark
5,0732229
5,0732229
You are right, I did not realize that -sh * option is not showing hidden files. Thanks for your help.
– kmb
Jan 25 at 17:22
1
If there are a lot of subfolders, you can usedu -hd1
to list only the top-level directories.
– Gordon Davisson
Jan 25 at 19:04
add a comment |
You are right, I did not realize that -sh * option is not showing hidden files. Thanks for your help.
– kmb
Jan 25 at 17:22
1
If there are a lot of subfolders, you can usedu -hd1
to list only the top-level directories.
– Gordon Davisson
Jan 25 at 19:04
You are right, I did not realize that -sh * option is not showing hidden files. Thanks for your help.
– kmb
Jan 25 at 17:22
You are right, I did not realize that -sh * option is not showing hidden files. Thanks for your help.
– kmb
Jan 25 at 17:22
1
1
If there are a lot of subfolders, you can use
du -hd1
to list only the top-level directories.– Gordon Davisson
Jan 25 at 19:04
If there are a lot of subfolders, you can use
du -hd1
to list only the top-level directories.– Gordon Davisson
Jan 25 at 19:04
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1398463%2fvoid-folder-is-taking-megabytes-of-space-in-osx%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown