Replace/overwrite file with same name

Discussion in 'macOS High Sierra (10.13)' started by dachshundx, Mar 21, 2018.

  1. dachshundx macrumors member

    Joined:
    Feb 13, 2016
    #1
    When I try to replace a file (let's call it the "original file") saved in a folder with a different file that has the same name as the original file (let's call it the "new file"), I get a popup message that says a file with the same name already exists and asks if I want to replace it. The options are "Cancel" or "Replace". When I click on "Replace", it saves the "new file" in the folder, but it doesn't replace the original file. Instead, the original file remains in the folder untouched, and the new file is saved with a "-2" appended to the end of the file name. So for example, if the original file was named ABC.pdf, and I wanted to replace that original file with a new file also called ABC.pdf, after clicking "Replace" I now have two files in the folder: the original file ABC.pdf, and the new file now automatically renamed ABC-2.pdf.

    My question: How can I get it to simply replace and overwrite the original file? Thanks!
     
  2. MSastre macrumors 6502

    MSastre

    Joined:
    Aug 18, 2014
    #2
    Highlight the version of the file you want to delete, move it to the trash, then empty it.
     
  3. mikzn macrumors 6502a

    mikzn

    Joined:
    Sep 2, 2013
    Location:
    Vancouver
    #3
    Are you doing this in the finder? or an app?

    In the finder it should just replace the file - if you are using another app it may create another new file and append the -1 within the file name?
     
  4. MSastre, Mar 23, 2018
    Last edited: Mar 23, 2018

    MSastre macrumors 6502

    MSastre

    Joined:
    Aug 18, 2014
    #4
    It should replace or overwrite the file, however sometimes it doesn't, so just drag the one you do not want from the folder to the trash. All done in the finder; no apps required. Meant to say drag to trsh rather than delete. to me it's the same thing. Sorry for the confusion.
     
  5. elf69 macrumors 68020

    elf69

    Joined:
    Jun 2, 2016
    Location:
    Cornwall UK
    #5
    finder always overwrites for me.

    Do it all the time with work excel files and edited image files.
    but all done in finder, copy from one location and paste to another.
     

Share This Page