Unable to backup a .jpeg file on Mac mini


I get an error message that Time Machine could not back up a particular jpeg file and therefor the back up could not be completed


I have tracked the file down to Pictures/Photos Library.photoslibrary/originals but I cannot open that folder to select the particular file to exclude from the back up. Is there a way to either open photoslibrary to select the bad file or to otherwise get Time Machine to ignore it?


[Edited by Moderator]


Mac mini, macOS 10.14

Posted on Feb 26, 2024 11:30 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 26, 2024 1:31 PM

That's the reason I asked, since all that will do is open Photos.


At the risk of potentially corrupting the entire Photos Library you might try searching for that particular file by name and removing it from the Photos Library.


Quit the Photos app first. Then, two-finger tap (or control-click) the Photos Library icon and select Show Package Contents. Open Originals, then 4, and then scroll to find that exact file. Drag it to the Desktop.


  • This action will definitely remove that original photograph from Photos.


If TM is in fact choking on that file and no other, then consider re-importing it into Photos. Please be advised that the above is predicated on the fact you already determined Time Machine is unable to back up that file — presumably, due to corruption. It may not be readable.

Similar questions

13 replies
Question marked as Top-ranking reply

Feb 26, 2024 1:31 PM in response to ttomlinson8666

That's the reason I asked, since all that will do is open Photos.


At the risk of potentially corrupting the entire Photos Library you might try searching for that particular file by name and removing it from the Photos Library.


Quit the Photos app first. Then, two-finger tap (or control-click) the Photos Library icon and select Show Package Contents. Open Originals, then 4, and then scroll to find that exact file. Drag it to the Desktop.


  • This action will definitely remove that original photograph from Photos.


If TM is in fact choking on that file and no other, then consider re-importing it into Photos. Please be advised that the above is predicated on the fact you already determined Time Machine is unable to back up that file — presumably, due to corruption. It may not be readable.

Mar 27, 2024 10:54 AM in response to ttomlinson8666

I was finally able to delete the photo by opening photos through another user account set up to solve another operating system problem and which I never use. There, by navigating to the photo and deleting it I could then remove it from the other user (my main account) as well.


I figured this out on my own. Apple had no solution at hand. No idea why one user could delete and the other not. Both have administrator status.

Feb 26, 2024 5:23 PM in response to ttomlinson8666

Might be an invisible file besides being locked...


 Use the Command-Shift-. toggle in Finder to show or to hide hidden files and folders


Strange cure for can’t empty the Trash


Can I delete the InstallESD.dmg file? - Apple Community


And the good old... Solving Trash Problems...


http://www.thexlab.com/faqs/trash.html


Empty and recreate an account's Trash

The following procedure will "kill two birds with one stone." It will both:

  1. Empty the Trash of an affected account.
  2. Create a new ~/.Trash directory, with correct ownership and permissions, for that account.

Perform the following steps in the order specified:


1.If the affected account is protected by FileVault, log in to the affected account, then switch to and log in to your Admin account via Fast User Switching. Otherwise, log in to your Admin account.2.Open Terminal, located in the Macintosh HD > Applications > Utilities folder.3.At the Terminal prompt, type one of the following commands:

If the affected account is:Then type the Terminal command:Your Admin account:sudo rm -ri ~/.TrashAnother user account:sudo rm -ri /Users/user_name/.Trash

where user_name is the short name of the affected account.

Note that:

  • There is a single space after each of the terms sudo, rm, and -ri in the command.
  • Assure you have typed the command exactly as specified before proceeding: typographical errors in this command can have dire consequences, including erasing your hard drive!

4.Press Return.5.Type your Admin password when prompted, then press Return.6.Type y for yes in response to the subsequent prompts to delete each file in the trash and finally the affected .Trash folder itself. The prompts are finished when the Terminal prompt returns.7.If the affected account is your Admin account, log out. If the affected account was another user account that is logged in via Fast User Switching, log out of that account.8.Log in to the affected account. It will now have a new, working, and empty Trash.

Steps 1-6 remove all files in the affected account's Trash as well as deleting the hidden and invisible ~/.Trash directory for that account. The remaining steps result in recreating the affected account's Trash, with proper ownership and permissions.


Feb 26, 2024 12:45 PM in response to John Galt

In finder under Macintosh HD /Users/tomlinsont/Pictures/Photos

Library.photoslibrary I clicked on the Photos Library.photoslibrary icon. That opened Photos. I could not find the relevant jpeg there. The full address of the jpeg that Time Machine rejected is /Users/tomlinsont/Pictures/Photos

Library.photoslibrary/originals/4/43DCFD01-D71E-44D0-A6B3-9B81133BE4C6.jpeg

Feb 26, 2024 5:06 PM in response to John Galt

The locked option under get info is greyed out, I cannot uncheck it. I can't move it to the trash. I get an error message "The Trash can't be completely emptied because [file] is locked. To empty everything in the Trash, including locked items, press the Option key while;e you choose Finder>Empty Trash. I cannot find an empty trash option in Finder and there does not appear to be anything in the trash to empty. Anyway to override the system and force delete the file?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Unable to backup a .jpeg file on Mac mini

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