Empty folder on macOS Mojave still containing one item












1















I have a bunch of folders that need to be filled with one document each. These folders were previously filled with documents but I deleted all of these documents, so the folders should be empty (and I need them to be empty so its easier to see through a custom search which ones I already "re-filled" with new documents). But when I tell the Finder search masks to show me only empty folders, they do not appear. A right click reveals that there is still one item with zero KB per folder although when I open the folder, there seems to be nothing. So far I have tried the following:




  • Showing hidden files (still empty)

  • Showing .DS_store files

  • relaunched Finder and restarted my Macbook

  • Copied the empty folders to another location

  • Tried a folder size search instead (since the item should have no size)


All of this has failed, however. I am completely clueless about what these ghost items are and how to get rid of them.
I'm running Mojave 10.14.2, and the folders where initially created through R in a Windows environment.



EDIT:
I just copied one of the folders to a Windows remote Desktop and on Windows the folder is empty (Copied back to macOS it again contains one item).










share|improve this question

























  • Did you try to open Terminal, type ls -la then drag and drop one of your "empty folder" in the terminal, and press "enter" to check if you see some hidden file?

    – Yoric
    Jan 23 at 14:18













  • @Yoric Thanks for the advice, but nothing showed up. Now I've been trying different things and it seems like every folder now has one "hidden" item (even "Get info" on folders I just created returns "Zero bytes (Zero bytes on disk) for 1 item"). Am I stupid or is that item the folder itself? But if so, why doesn't the finder search setting "Number of Files equals 0"return those empty folders?

    – Cb31w01
    Jan 23 at 15:15
















1















I have a bunch of folders that need to be filled with one document each. These folders were previously filled with documents but I deleted all of these documents, so the folders should be empty (and I need them to be empty so its easier to see through a custom search which ones I already "re-filled" with new documents). But when I tell the Finder search masks to show me only empty folders, they do not appear. A right click reveals that there is still one item with zero KB per folder although when I open the folder, there seems to be nothing. So far I have tried the following:




  • Showing hidden files (still empty)

  • Showing .DS_store files

  • relaunched Finder and restarted my Macbook

  • Copied the empty folders to another location

  • Tried a folder size search instead (since the item should have no size)


All of this has failed, however. I am completely clueless about what these ghost items are and how to get rid of them.
I'm running Mojave 10.14.2, and the folders where initially created through R in a Windows environment.



EDIT:
I just copied one of the folders to a Windows remote Desktop and on Windows the folder is empty (Copied back to macOS it again contains one item).










share|improve this question

























  • Did you try to open Terminal, type ls -la then drag and drop one of your "empty folder" in the terminal, and press "enter" to check if you see some hidden file?

    – Yoric
    Jan 23 at 14:18













  • @Yoric Thanks for the advice, but nothing showed up. Now I've been trying different things and it seems like every folder now has one "hidden" item (even "Get info" on folders I just created returns "Zero bytes (Zero bytes on disk) for 1 item"). Am I stupid or is that item the folder itself? But if so, why doesn't the finder search setting "Number of Files equals 0"return those empty folders?

    – Cb31w01
    Jan 23 at 15:15














1












1








1








I have a bunch of folders that need to be filled with one document each. These folders were previously filled with documents but I deleted all of these documents, so the folders should be empty (and I need them to be empty so its easier to see through a custom search which ones I already "re-filled" with new documents). But when I tell the Finder search masks to show me only empty folders, they do not appear. A right click reveals that there is still one item with zero KB per folder although when I open the folder, there seems to be nothing. So far I have tried the following:




  • Showing hidden files (still empty)

  • Showing .DS_store files

  • relaunched Finder and restarted my Macbook

  • Copied the empty folders to another location

  • Tried a folder size search instead (since the item should have no size)


All of this has failed, however. I am completely clueless about what these ghost items are and how to get rid of them.
I'm running Mojave 10.14.2, and the folders where initially created through R in a Windows environment.



EDIT:
I just copied one of the folders to a Windows remote Desktop and on Windows the folder is empty (Copied back to macOS it again contains one item).










share|improve this question
















I have a bunch of folders that need to be filled with one document each. These folders were previously filled with documents but I deleted all of these documents, so the folders should be empty (and I need them to be empty so its easier to see through a custom search which ones I already "re-filled" with new documents). But when I tell the Finder search masks to show me only empty folders, they do not appear. A right click reveals that there is still one item with zero KB per folder although when I open the folder, there seems to be nothing. So far I have tried the following:




  • Showing hidden files (still empty)

  • Showing .DS_store files

  • relaunched Finder and restarted my Macbook

  • Copied the empty folders to another location

  • Tried a folder size search instead (since the item should have no size)


All of this has failed, however. I am completely clueless about what these ghost items are and how to get rid of them.
I'm running Mojave 10.14.2, and the folders where initially created through R in a Windows environment.



EDIT:
I just copied one of the folders to a Windows remote Desktop and on Windows the folder is empty (Copied back to macOS it again contains one item).







macos finder






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 23 at 13:46







Cb31w01

















asked Jan 23 at 13:09









Cb31w01Cb31w01

62




62













  • Did you try to open Terminal, type ls -la then drag and drop one of your "empty folder" in the terminal, and press "enter" to check if you see some hidden file?

    – Yoric
    Jan 23 at 14:18













  • @Yoric Thanks for the advice, but nothing showed up. Now I've been trying different things and it seems like every folder now has one "hidden" item (even "Get info" on folders I just created returns "Zero bytes (Zero bytes on disk) for 1 item"). Am I stupid or is that item the folder itself? But if so, why doesn't the finder search setting "Number of Files equals 0"return those empty folders?

    – Cb31w01
    Jan 23 at 15:15



















  • Did you try to open Terminal, type ls -la then drag and drop one of your "empty folder" in the terminal, and press "enter" to check if you see some hidden file?

    – Yoric
    Jan 23 at 14:18













  • @Yoric Thanks for the advice, but nothing showed up. Now I've been trying different things and it seems like every folder now has one "hidden" item (even "Get info" on folders I just created returns "Zero bytes (Zero bytes on disk) for 1 item"). Am I stupid or is that item the folder itself? But if so, why doesn't the finder search setting "Number of Files equals 0"return those empty folders?

    – Cb31w01
    Jan 23 at 15:15

















Did you try to open Terminal, type ls -la then drag and drop one of your "empty folder" in the terminal, and press "enter" to check if you see some hidden file?

– Yoric
Jan 23 at 14:18







Did you try to open Terminal, type ls -la then drag and drop one of your "empty folder" in the terminal, and press "enter" to check if you see some hidden file?

– Yoric
Jan 23 at 14:18















@Yoric Thanks for the advice, but nothing showed up. Now I've been trying different things and it seems like every folder now has one "hidden" item (even "Get info" on folders I just created returns "Zero bytes (Zero bytes on disk) for 1 item"). Am I stupid or is that item the folder itself? But if so, why doesn't the finder search setting "Number of Files equals 0"return those empty folders?

– Cb31w01
Jan 23 at 15:15





@Yoric Thanks for the advice, but nothing showed up. Now I've been trying different things and it seems like every folder now has one "hidden" item (even "Get info" on folders I just created returns "Zero bytes (Zero bytes on disk) for 1 item"). Am I stupid or is that item the folder itself? But if so, why doesn't the finder search setting "Number of Files equals 0"return those empty folders?

– Cb31w01
Jan 23 at 15:15










0






active

oldest

votes











Your Answer








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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1397454%2fempty-folder-on-macos-mojave-still-containing-one-item%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1397454%2fempty-folder-on-macos-mojave-still-containing-one-item%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Plaza Victoria

Puebla de Zaragoza

Musa