Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

operation can't be completed because an item of same name already exist

Hi, my first post. I've search the net for similar problems but nothing exact.

I have a Maxtor OneTouch 4 (1TB)that just returned cos I got it exchanged. While it was being exchanged, I used a Maxtor OneTouch (640GB). I had transferred everything from my 1TB to the 640GB.

Now that the 1TB's back, I want to transfer everything back. But when I try to transfer anything from the 640GB to the 1TB, an error message appears saying "operation can't be completed because an item "(of same name)" already exist."

After I click OK on the error message, only the folder gets copied over to the 1TB but NONE of its contents.

This only happens when I transfer folders. If I were to transfer individual files, e.g a picture, it's successful.

Things that do work:
- transferring files and folders from computer to both HDDs
- transferring files and folders from either HDDs to computer

So the only problem is transfers between both HDDs.

I read some thread that repairing permissions might help but when I enter Disk Utility, "Verify Disk permissions" or "Repair Disk Permissions" are both greyed out.

Does anybody have experience with this problem? Please help, the 640GB is exploding!

Thanks in advance!

Macbook (white), Mac OS X (10.6.2)

Posted on Nov 12, 2009 10:13 AM

Reply
Question marked as Best reply

Posted on Mar 30, 2017 3:51 PM

Hello, I'm Dragon Berzerk.


There is a problem when you copy files from a Mac to a NTFS Disk, after time when you connect any NTFS Drive to a Mac, macOS make an index to entire disk, (When you can write a NTFS disk on macOS) so macOS make the invisible .DS_Store file type.


There is the problem the .DS_Store have a bug or something in NTFS file system


The solution is on Terminal.


  1. Open up Terminal (Applications > Utilities > Terminal or press command + space and type "Terminal")
  2. On Terminal type: cd
  3. After cdpress space bar, drag and drop your folder you wish to copy into Terminal window. Hit enter/return

Like this example:

User-Mac-Pro:~ User$ cd /Volumes/SpecialDisk/Not\ is\ P0rn

4. Now type: find . -name '.DS_Store' -type f -delete

Would be look like this example:

User-Mac-Pro:Not is P0rn User$ find . -name '.DS_Store' -type f -delete

5. Press Enter… Wait some seconds.

6. Now in Finder close the window with your files and open it again, is just to update folders.


And thats all the .DS_Store files are deleted. Copy your files on Finder as normal.

macOS will create new correct .DS_Store into Mac Disk it's normal.

134 replies

Sep 3, 2012 8:24 AM in response to subcrapper

Hi Everyone,

I've had similar problems copy files onto and FAT32 formated hard drive and unable to use the drive to move files back and forth from my new iMac to my IBM PC. Finally, I was pointed towards Tuxera that enables NFTS formatted drives to be read and written to by apples. So I reformatted the drive on my PC back to NFTS. I've installted Tuxera and it seems to be working like a charm. The cost is just over $30 and its free for 15 days. If it continues to work I am very happy with this solution.


http://www.tuxera.com/products/tuxera-ntfs-for-mac/

Nov 11, 2012 5:39 PM in response to subcrapper

I was having a similar problem in Mountain Lion 10.8.2. In my case, it turned out to be a cache issue. I was able to resolve the problem by deleting the Finder cache:


  1. Open a finder window and select “Go to Folder” in the Go menu
  2. Type in ~/Library/Caches
  3. This is optional, but you can highlight & copy everything to a different folder in case anything goes wrong.
  4. Highlight everything and press CMD and Backspace
  5. Restart your machine

Mar 24, 2013 12:51 AM in response to danegeld

Hey everyoe idk if this helps but i solved my problem. I have about 70,000 files i am copying from my mac to an external hard drive, but it stops halfway through with the error message "operation can't be completed because the files already exists".


It is because of a symbol in the name of a certain file. I dont know how to type it, but it looks like a squiggily hyphen. Go to the destination you are trying to copy the files to and go to the last file that was copied before the error came up. EVERYTIME with me, it stops copying the files when it runs into a file that has that squiggily hyphen in the file name. Rename the file whatwever you want just make sure you get rid of that ridiculous squiggily hyphen, and it should work. at least it does for me.


I hope this is a help to someone cause it worked for me.


ps i am using lion 10.6.8


peace

Aug 18, 2013 4:03 PM in response to DjEtchaSkratch

The solution posted here worked for me: https://discussions.apple.com/thread/4506193?answerId=21786245022#21786245022



It appears to be an issue with drop n drop using finder. Short circut it by using terminal. I remember having to do similar in early Windows 98 days using Command. Seems like a bug Apple should be aware of (or at least the symptoms of a bug).

Sep 4, 2013 7:50 AM in response to subcrapper

Hi


Most of you seem to have NAS drives. If so, many of them can be accessed outside of you home net.


For exampe my 4TB Buffalo Linkstation, has a iwebaccess which I can access via an app on my iphone, or any browser, if I chose to use the buffalo website for this service.


In my case it worked and deleted a very stuborn file and folder.


I am certain that most companies that manafacture NAS drives have this service.


I'll be intrested to find out how you got on.


All the best - Steve

Dec 16, 2013 12:37 PM in response to subcrapper

First post because I had the same issue and found simple fix that I think others may really want to know. Through another program i found out that the error number is error 48 ...

dupFNErr Duplicate filename (rename); File found instead of folder


This is probably obvious to you but another user posted that this is the issue...

"I have discovered why this happens. In every case, the folder that generates this bug has items inside it that have identical names except for differences in capitalization. For example, the folder "Metallica" has one subfolder called "Master of Puppets" and another subfolder called "Master Of Puppets". Apparently iTunes is (or some former version was) case sensitive in creating folder names for albums. That case sensitivity seems to confuse the Finder, causing this confusing error. In the case described above, the error would be, "The operation can't be completed because an item with the name 'Metallica' already exists." As you can see, this makes no sense at all, since it is actually the subfolder that has the same name, but the parent folder that the finder references in the error.

So the solution (for me) was simply to open the folder that is referenced in the error, make sure you are sorted alphabetically, scan through the list of subfolders (in my case it was always a subfolder) to find the duplicates, consolidate the items into one of the folders, and delete the errant folder. "


FIX:*****So basically there is some confusion with the file name, could be two file names with same name but some letters are capitalized while others aren't (making the program think that there is a file with the same name). My case, however, was solved by renaming a file that had a tilde ('~') symbol (Presuming that this is a special or reservered character that cannot be handled by OSX). I dont know why the symbol is there but I did not need it and it caused problems so I renamed the file without the tilde (~) symbol. Then I attempted to copy files to my external hard drive with no issues. If you have a large quanitity of files this could be a little more difficult but what you can do is go to the folder in which the error message claimed contained the same file name and you open the folder and use the Finder search bar to search for any files that have the tilde symbol (~) in it. (to search this, just type a ~ into the search bar. Hopefully you will not have many files like this to rename).


I also wanted to point out that in my case I did not need the tilde symbol (~) to use the file with my program which is actually just a song file I use in itunes, but if the program you are using requires a tilde symbol (~) to recognize/use/play file then obviously you may want to reconsider whether it is a safe idea to remove the tilde symbol from the filename. I guess if it didn't work then you could always add the symbol back into the file name. I don't think removing the tilde symbol would affect functionality of the file but I am not sure and wanted to put a little disclaimer. But if your issue is an mp3 file then you can assume that its safe to remove this tlde symbol.

Jan 21, 2014 3:51 PM in response to subcrapper

I got a weird solution that works 99% of the time, but is simple to do,so.. it doesnt hurt to try.


Just CLOSE the file location finder window AND the file destination finder window BEFORE the file finishes copying/moving... and TADA!... it works, weird, sometimes to make sure everything goes ok I close ALL my finder windows and I minimize the copying/moving progression bar.


I think is a problem with finder showing the file in the finder window folder while being copied so when the destination and location windows are closed the error doesnt happen and you hear that lovely file drop sound 🙂


I hope apple fixes this stupid error soon...

Aug 28, 2014 8:51 AM in response to subcrapper

I just upgrade to Mavericks from 10.6.8 (via getting new iMac) and was copying my files from a back-up (networked computer) to an external drive (not the onboard iMac drive) and experienced the same thing. I was able to get the files copied (slowly, as I did one main directory at a time (about 20)) by doing a combination of the above, as well as the Terminal command from this blog: http(colon)//danilo(dot)ariadoss(dot)com / how-to-recursively-remove-ds_store-files-on-mac-os-x/


  1. I did the disable "show icon preview" on the destination folder.
  2. I used the Terminal command from link above to delete DS_Store files on the back-up.
  3. *** When I drag and dropped a folder to the new location, I then immediately closed both windows (the From and To windows). **This made a difference!** I tried without doing this, and I would get the error. When I closed the windows, it copied fine. Very odd, but it worked!!

How I miss 10.6.8. 😟

For ease, here are the instructions from the blog:

Directions on how to recursively remove .DS_Store files on Mac OS X

  1. Open up the Terminal application (/Applications/Utilities/Terminal.app).
  2. Find the directory/folder that you wish to recursively delete the .DS_Store files from. For this tutorial let’s pretend you want to delete all the .DS_Store files in your Pictures folder and every folder inside that folder. Type this command into Terminal (without pressing the return key): cd
  3. Then drag and drop your Pictures folder onto the Terminal window. The cd command should now look something like this–where ariadoss is your Mac’s “short name” (i.e. your username):cd /Users/ariadoss/Pictures
  4. Press the return/enter key on your keyboard.
  5. Type the following command into Terminal and press return to execute it:find . -name '*.DS_Store' -type f -delete

Congratulations the .DS_Store files have been deleted. Please note that this command will just delete existing .DS_Store files; your Mac will continue to create them.

If you wish to disable the creation of .DS_Store files on external volumes type the following command into Terminal and hit enter (you may need to logout or restart your computer after executing this command):

defaults write com.apple.desktopservices DSDontWriteNetworkStores true

operation can't be completed because an item of same name already exist

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.