OSX: Can't remove or hide 'filename'.extension/zone.identifier

Multi tool use
Okay I got one for you guys. I am using OS X Mountain Lion, with a Windows 7 partition in Bootcamp. In Windows 7, I used Paragon to be able to write to my HFS partition, where my home folder in OSX is located. I did this because I wanted a unified home folder (one downloads folder, one movies folder etc.).
After succeeding in setting this up (I thought), I booted in OSX again. I noticed that along with my files that I downloaded in Windows, a file named exactly the same appeared as well, only with a /zone.identifier suffix. I have no idea what this file is and/or does.
Anyway I thought oh well, I'll just delete it whenever I boot into OSX after downloading stuff in Windows. I was wrong. When I try to move it to the trash I get this exact message:
The operation can't be completed because one or more items can't be found.
(Error code -43)
I tried dragging to the trash, command-dragging to the trash, right clicking and selecting 'Move to trash', and I tried using terminal to either delete (sudo rm -rf path/to/file) or hide (chflags hidden path/to/file). After trying to rm -rf I get nothing, it just goes to a new line. After trying to hide with chflags hidden I get this error: No such file or directory.
Again, I have no idea what this file is, I have never seen it and a google search didn't help me much either, I just found that it was some kind of metadata file, but nothing about trying to delete them.
TLDR: OSX basically says I am crazy and a file doesn't exist, so I can't hide or remove it.
windows macos
add a comment |
Okay I got one for you guys. I am using OS X Mountain Lion, with a Windows 7 partition in Bootcamp. In Windows 7, I used Paragon to be able to write to my HFS partition, where my home folder in OSX is located. I did this because I wanted a unified home folder (one downloads folder, one movies folder etc.).
After succeeding in setting this up (I thought), I booted in OSX again. I noticed that along with my files that I downloaded in Windows, a file named exactly the same appeared as well, only with a /zone.identifier suffix. I have no idea what this file is and/or does.
Anyway I thought oh well, I'll just delete it whenever I boot into OSX after downloading stuff in Windows. I was wrong. When I try to move it to the trash I get this exact message:
The operation can't be completed because one or more items can't be found.
(Error code -43)
I tried dragging to the trash, command-dragging to the trash, right clicking and selecting 'Move to trash', and I tried using terminal to either delete (sudo rm -rf path/to/file) or hide (chflags hidden path/to/file). After trying to rm -rf I get nothing, it just goes to a new line. After trying to hide with chflags hidden I get this error: No such file or directory.
Again, I have no idea what this file is, I have never seen it and a google search didn't help me much either, I just found that it was some kind of metadata file, but nothing about trying to delete them.
TLDR: OSX basically says I am crazy and a file doesn't exist, so I can't hide or remove it.
windows macos
You could try quitting and reopening Finder or running chflags nosappend,noschg in single user mode.
– Lri
Aug 9 '13 at 14:33
Can you runls -aF
on one of the directories and add it to the question?
– spuder
Aug 9 '13 at 15:23
add a comment |
Okay I got one for you guys. I am using OS X Mountain Lion, with a Windows 7 partition in Bootcamp. In Windows 7, I used Paragon to be able to write to my HFS partition, where my home folder in OSX is located. I did this because I wanted a unified home folder (one downloads folder, one movies folder etc.).
After succeeding in setting this up (I thought), I booted in OSX again. I noticed that along with my files that I downloaded in Windows, a file named exactly the same appeared as well, only with a /zone.identifier suffix. I have no idea what this file is and/or does.
Anyway I thought oh well, I'll just delete it whenever I boot into OSX after downloading stuff in Windows. I was wrong. When I try to move it to the trash I get this exact message:
The operation can't be completed because one or more items can't be found.
(Error code -43)
I tried dragging to the trash, command-dragging to the trash, right clicking and selecting 'Move to trash', and I tried using terminal to either delete (sudo rm -rf path/to/file) or hide (chflags hidden path/to/file). After trying to rm -rf I get nothing, it just goes to a new line. After trying to hide with chflags hidden I get this error: No such file or directory.
Again, I have no idea what this file is, I have never seen it and a google search didn't help me much either, I just found that it was some kind of metadata file, but nothing about trying to delete them.
TLDR: OSX basically says I am crazy and a file doesn't exist, so I can't hide or remove it.
windows macos
Okay I got one for you guys. I am using OS X Mountain Lion, with a Windows 7 partition in Bootcamp. In Windows 7, I used Paragon to be able to write to my HFS partition, where my home folder in OSX is located. I did this because I wanted a unified home folder (one downloads folder, one movies folder etc.).
After succeeding in setting this up (I thought), I booted in OSX again. I noticed that along with my files that I downloaded in Windows, a file named exactly the same appeared as well, only with a /zone.identifier suffix. I have no idea what this file is and/or does.
Anyway I thought oh well, I'll just delete it whenever I boot into OSX after downloading stuff in Windows. I was wrong. When I try to move it to the trash I get this exact message:
The operation can't be completed because one or more items can't be found.
(Error code -43)
I tried dragging to the trash, command-dragging to the trash, right clicking and selecting 'Move to trash', and I tried using terminal to either delete (sudo rm -rf path/to/file) or hide (chflags hidden path/to/file). After trying to rm -rf I get nothing, it just goes to a new line. After trying to hide with chflags hidden I get this error: No such file or directory.
Again, I have no idea what this file is, I have never seen it and a google search didn't help me much either, I just found that it was some kind of metadata file, but nothing about trying to delete them.
TLDR: OSX basically says I am crazy and a file doesn't exist, so I can't hide or remove it.
windows macos
windows macos
edited Oct 17 '14 at 10:11


Der Hochstapler
68.1k50230286
68.1k50230286
asked Aug 9 '13 at 13:54
user244506user244506
1112
1112
You could try quitting and reopening Finder or running chflags nosappend,noschg in single user mode.
– Lri
Aug 9 '13 at 14:33
Can you runls -aF
on one of the directories and add it to the question?
– spuder
Aug 9 '13 at 15:23
add a comment |
You could try quitting and reopening Finder or running chflags nosappend,noschg in single user mode.
– Lri
Aug 9 '13 at 14:33
Can you runls -aF
on one of the directories and add it to the question?
– spuder
Aug 9 '13 at 15:23
You could try quitting and reopening Finder or running chflags nosappend,noschg in single user mode.
– Lri
Aug 9 '13 at 14:33
You could try quitting and reopening Finder or running chflags nosappend,noschg in single user mode.
– Lri
Aug 9 '13 at 14:33
Can you run
ls -aF
on one of the directories and add it to the question?– spuder
Aug 9 '13 at 15:23
Can you run
ls -aF
on one of the directories and add it to the question?– spuder
Aug 9 '13 at 15:23
add a comment |
2 Answers
2
active
oldest
votes
NTFS has "alternate streams" which are similar to "forks" in HFS, except they can be multiple and named – more like "extended attributes", in fact. For example, almost all Windows browsers mark downloaded files by creating a stream named Zone.Identifier
, so that Windows Explorer will know it's a downloaded file and will verify signatures, ask for confirmation when running, etc.
The alternate streams are accessed as regular files with a special name like filename:streamname
– for example, the web browser just creates a file called myfile:Zone.Identifier
when it wants to add a stream. Since HFS doesn't support streams the way NTFS would, but it does allow filenames with :
s in them, you end up with a strange file instead.
Note that Finder swaps :
and /
when listing files, for historical reasons (related to Mac OS X being Unix and older versions not). So if it shows myfile/Zone.Identifier
, you actually need to use
rm myfile:Zone.Identifier
Hey man, first of thanks for your help. When I try to remove it in terminal it outputs this. In the first line I just dragged my file into the terminal window and pressed enter, and in the second line I tried your method, or at least I think I did. Also, in Finder it shows "iTunes64Setup.exe/Zone.Identifier". When I drag it into terminal it shows the same, but seems to transform / into :
– user244506
Aug 9 '13 at 19:25
add a comment |
After trying everything possible under OSX, using the method below was the only way I was able to delete the annoying file tagged as: xx.Zone.Identifier
Try this:
- Restart in Windows
- Open the drive where the folder/file (zone.identifier) you trying to delete is located.
In my case it was located: external drive/.Trashes/501/XXX - Make sure that that under options you select: view all files (in order to view all hidden files)
- Search for your specific folder/file (in my case was a jpg image located under the Picture folder)
- Delete
Done.
add a comment |
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
});
}
});
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%2f629954%2fosx-cant-remove-or-hide-filename-extension-zone-identifier%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
NTFS has "alternate streams" which are similar to "forks" in HFS, except they can be multiple and named – more like "extended attributes", in fact. For example, almost all Windows browsers mark downloaded files by creating a stream named Zone.Identifier
, so that Windows Explorer will know it's a downloaded file and will verify signatures, ask for confirmation when running, etc.
The alternate streams are accessed as regular files with a special name like filename:streamname
– for example, the web browser just creates a file called myfile:Zone.Identifier
when it wants to add a stream. Since HFS doesn't support streams the way NTFS would, but it does allow filenames with :
s in them, you end up with a strange file instead.
Note that Finder swaps :
and /
when listing files, for historical reasons (related to Mac OS X being Unix and older versions not). So if it shows myfile/Zone.Identifier
, you actually need to use
rm myfile:Zone.Identifier
Hey man, first of thanks for your help. When I try to remove it in terminal it outputs this. In the first line I just dragged my file into the terminal window and pressed enter, and in the second line I tried your method, or at least I think I did. Also, in Finder it shows "iTunes64Setup.exe/Zone.Identifier". When I drag it into terminal it shows the same, but seems to transform / into :
– user244506
Aug 9 '13 at 19:25
add a comment |
NTFS has "alternate streams" which are similar to "forks" in HFS, except they can be multiple and named – more like "extended attributes", in fact. For example, almost all Windows browsers mark downloaded files by creating a stream named Zone.Identifier
, so that Windows Explorer will know it's a downloaded file and will verify signatures, ask for confirmation when running, etc.
The alternate streams are accessed as regular files with a special name like filename:streamname
– for example, the web browser just creates a file called myfile:Zone.Identifier
when it wants to add a stream. Since HFS doesn't support streams the way NTFS would, but it does allow filenames with :
s in them, you end up with a strange file instead.
Note that Finder swaps :
and /
when listing files, for historical reasons (related to Mac OS X being Unix and older versions not). So if it shows myfile/Zone.Identifier
, you actually need to use
rm myfile:Zone.Identifier
Hey man, first of thanks for your help. When I try to remove it in terminal it outputs this. In the first line I just dragged my file into the terminal window and pressed enter, and in the second line I tried your method, or at least I think I did. Also, in Finder it shows "iTunes64Setup.exe/Zone.Identifier". When I drag it into terminal it shows the same, but seems to transform / into :
– user244506
Aug 9 '13 at 19:25
add a comment |
NTFS has "alternate streams" which are similar to "forks" in HFS, except they can be multiple and named – more like "extended attributes", in fact. For example, almost all Windows browsers mark downloaded files by creating a stream named Zone.Identifier
, so that Windows Explorer will know it's a downloaded file and will verify signatures, ask for confirmation when running, etc.
The alternate streams are accessed as regular files with a special name like filename:streamname
– for example, the web browser just creates a file called myfile:Zone.Identifier
when it wants to add a stream. Since HFS doesn't support streams the way NTFS would, but it does allow filenames with :
s in them, you end up with a strange file instead.
Note that Finder swaps :
and /
when listing files, for historical reasons (related to Mac OS X being Unix and older versions not). So if it shows myfile/Zone.Identifier
, you actually need to use
rm myfile:Zone.Identifier
NTFS has "alternate streams" which are similar to "forks" in HFS, except they can be multiple and named – more like "extended attributes", in fact. For example, almost all Windows browsers mark downloaded files by creating a stream named Zone.Identifier
, so that Windows Explorer will know it's a downloaded file and will verify signatures, ask for confirmation when running, etc.
The alternate streams are accessed as regular files with a special name like filename:streamname
– for example, the web browser just creates a file called myfile:Zone.Identifier
when it wants to add a stream. Since HFS doesn't support streams the way NTFS would, but it does allow filenames with :
s in them, you end up with a strange file instead.
Note that Finder swaps :
and /
when listing files, for historical reasons (related to Mac OS X being Unix and older versions not). So if it shows myfile/Zone.Identifier
, you actually need to use
rm myfile:Zone.Identifier
edited Aug 9 '13 at 15:19
answered Aug 9 '13 at 15:10
grawitygrawity
241k37508562
241k37508562
Hey man, first of thanks for your help. When I try to remove it in terminal it outputs this. In the first line I just dragged my file into the terminal window and pressed enter, and in the second line I tried your method, or at least I think I did. Also, in Finder it shows "iTunes64Setup.exe/Zone.Identifier". When I drag it into terminal it shows the same, but seems to transform / into :
– user244506
Aug 9 '13 at 19:25
add a comment |
Hey man, first of thanks for your help. When I try to remove it in terminal it outputs this. In the first line I just dragged my file into the terminal window and pressed enter, and in the second line I tried your method, or at least I think I did. Also, in Finder it shows "iTunes64Setup.exe/Zone.Identifier". When I drag it into terminal it shows the same, but seems to transform / into :
– user244506
Aug 9 '13 at 19:25
Hey man, first of thanks for your help. When I try to remove it in terminal it outputs this. In the first line I just dragged my file into the terminal window and pressed enter, and in the second line I tried your method, or at least I think I did. Also, in Finder it shows "iTunes64Setup.exe/Zone.Identifier". When I drag it into terminal it shows the same, but seems to transform / into :
– user244506
Aug 9 '13 at 19:25
Hey man, first of thanks for your help. When I try to remove it in terminal it outputs this. In the first line I just dragged my file into the terminal window and pressed enter, and in the second line I tried your method, or at least I think I did. Also, in Finder it shows "iTunes64Setup.exe/Zone.Identifier". When I drag it into terminal it shows the same, but seems to transform / into :
– user244506
Aug 9 '13 at 19:25
add a comment |
After trying everything possible under OSX, using the method below was the only way I was able to delete the annoying file tagged as: xx.Zone.Identifier
Try this:
- Restart in Windows
- Open the drive where the folder/file (zone.identifier) you trying to delete is located.
In my case it was located: external drive/.Trashes/501/XXX - Make sure that that under options you select: view all files (in order to view all hidden files)
- Search for your specific folder/file (in my case was a jpg image located under the Picture folder)
- Delete
Done.
add a comment |
After trying everything possible under OSX, using the method below was the only way I was able to delete the annoying file tagged as: xx.Zone.Identifier
Try this:
- Restart in Windows
- Open the drive where the folder/file (zone.identifier) you trying to delete is located.
In my case it was located: external drive/.Trashes/501/XXX - Make sure that that under options you select: view all files (in order to view all hidden files)
- Search for your specific folder/file (in my case was a jpg image located under the Picture folder)
- Delete
Done.
add a comment |
After trying everything possible under OSX, using the method below was the only way I was able to delete the annoying file tagged as: xx.Zone.Identifier
Try this:
- Restart in Windows
- Open the drive where the folder/file (zone.identifier) you trying to delete is located.
In my case it was located: external drive/.Trashes/501/XXX - Make sure that that under options you select: view all files (in order to view all hidden files)
- Search for your specific folder/file (in my case was a jpg image located under the Picture folder)
- Delete
Done.
After trying everything possible under OSX, using the method below was the only way I was able to delete the annoying file tagged as: xx.Zone.Identifier
Try this:
- Restart in Windows
- Open the drive where the folder/file (zone.identifier) you trying to delete is located.
In my case it was located: external drive/.Trashes/501/XXX - Make sure that that under options you select: view all files (in order to view all hidden files)
- Search for your specific folder/file (in my case was a jpg image located under the Picture folder)
- Delete
Done.
edited Jul 1 '14 at 16:55
Jason Aller
2,22652121
2,22652121
answered Jul 1 '14 at 16:02
user340300user340300
1
1
add a comment |
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%2f629954%2fosx-cant-remove-or-hide-filename-extension-zone-identifier%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
7NLfwOjnK4nEJMx40QgEy,j3L,F8oj7V kR95M1wv,f,GU0Z7DjYmlTyZ UTfzCd9wJpDFeAD
You could try quitting and reopening Finder or running chflags nosappend,noschg in single user mode.
– Lri
Aug 9 '13 at 14:33
Can you run
ls -aF
on one of the directories and add it to the question?– spuder
Aug 9 '13 at 15:23