Overwrite oldest files automatically

Discussion in 'OS X Mavericks (10.9)' started by jjk454ss, Jan 5, 2014.

  1. jjk454ss macrumors 601

    jjk454ss

    Joined:
    Jul 10, 2008
    #1
    Is there a way to have OSX keep a HDD full, but whenever I add a file it will just automatically overwrite or delete the oldest existing files to make room?

    I don't want to have to bother with figuring out how much room I need, then deleting the right amount of Giles, I just want yo keep adding new without worrying about space. Kind of like Time Machine does on it's own.
     
  2. MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #2
    That is not the way it works in fact most times I always see a recommended 5-10% should be empty at all times.
     
  3. jjk454ss thread starter macrumors 601

    jjk454ss

    Joined:
    Jul 10, 2008
    #3
    I understand that's not the way it typically works, that's why I asked if there was a way that it could be made to work. Maybe a third party app has this ability?
     
  4. MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #4
    The operating system itself has the ability if you copy file to same location as old it prompts you to overwrite. What you do not understand is full hard drive slows down machine.
     
  5. jjk454ss thread starter macrumors 601

    jjk454ss

    Joined:
    Jul 10, 2008
    #5
    This would be an external drive backing up some data, I'm not worried about speed. And it would be new file names, that's why I need something that overwrites by date, not name.
     
  6. MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #6
    Ok I see in that case I use program called DropSync which automatically will delete files on the destination drive/directory that are not present on the source so will do exactly what you need. This is just a front end for the built in rsync so you can use that instead if you wanted from the command line to achieve the same result.
     
  7. jjk454ss thread starter macrumors 601

    jjk454ss

    Joined:
    Jul 10, 2008
    #7
    Thanks. Not sure that's exactly what I need, but I'll check it out. The main drive will have more data than can fit on the external, so the source will have still have files that would need to be overwritten on the external to make room for the newer files.
     
  8. DeltaMac macrumors 604

    DeltaMac

    Joined:
    Jul 30, 2003
    Location:
    Delaware
    #8
    What would you want to happen if the old file is smaller than the newer file, and there's not enough space for the "automatic" replacement?
    Easier would be to use a smart folder, which keeps only some number of files. Adding a file would then delete the oldest file.
    However, that still would not allow for total space on the hard drive, would it?

    The better idea is to NOT have the hard drive full in the first place.
    If the hard drive is jammed full, then you need more space (storage is cheap), not some work-around to "delete the oldest file"
     
  9. MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #9
    You would not do the whole drive just the directory(ies) you want to have identical contents.
     

Share This Page