Troubleshooting: Deleted Folder or File Reappears

In some instances, files deleted from Mylio may reappear in your library after a short time. This may happen if you are using an external drive that was once used in conjunction with Time Machine drive on Mac. This may occur even if the drive is no longer linked with Time Machine, or even if the drive is no longer linked with Time Machine and all files have been deleted.

When Time Machine first sets up a drive for use it creates a hidden folder (.Trashes) in which all files added to the drive, even after unlinked, still have “ownership”. This ownership prohibits Mylio from deleting the files on the drive and causes files to reappear when Mylio rescans the drive for changes.

In order to properly use this drive for Mylio, it is recommended that you format the drive to completely remove all data (including hidden files) from the drive. The drive can then reliably used with Mylio.

If the external drive has many files and you are unable or unwilling to format the drive, you can take ownership of this folder by using Terminal on Mac with the following steps…

  1. Open Finder
  2. Navigate to the “Go” menu at the top of screen and select “Utilities”
  3. Locate and open Terminal
  4. Type the following command, replacing USERNAME and USBDRIVE with the information below…

sudo chown -R USERNAME:staff /Volumes/USBDRIVE/.Trashes/

        1. USERNAME
          1. Located by opening Finder and selecting the “Go” menu at the top of the screen, and then selecting “Computer”
          2. In the new window, navigate to Macintosh HD (or the name of the drive your user folder is on) > Users
          3. The name of your account is listed here, with the small house icon
        2. USBDRIVE
          1. Located by opening Finder and selecting the “Go” menu at the top of the screen, and then selecting “Computer”
          2. The USB drive will be listed here and show the external drive icon

  Note:   this code, as well as your USERNAME and USBDRIVE paths must be typed in exactly as displayed to function.

If your USERNAME or USBDRIVE name include a space, this can be represented with "\ " in terminal (without quotes). For example, if my USBDRIVE is named “Photo Drive”, then my path would be…

/Volumes/Photo\ Drive/.Trashes/

Did you find this article helpful?