22.7 C
New York
Wednesday, April 23, 2025

COMMAND LINE: You can’t take away the traditional and empty iPhone backup folder


I used to make a backup of my iPhone to an exterior unit utilizing the directions right here However now that I’m supporting my inside exhausting drive (the default location), I want to take away the earlier backup. In some way I had success in eliminating the information inside the directories, so it not occupies any area, however plainly I can not eradicate the listing itself. If the listing is within the rubbish and I’ll empty it, it tells me that the subdirectories are in use:

If the highway is saved in $listingWhether or not I exploit rm -rf $listing both sudo rm -rf $listingI obtain a denied allow error for every subdirectory:

rm: /Volumes/VOLUME/iPhoneBackup/Backup/00008110-000G309221F0401E/61: Permission denied

As for the permits, I’m the proprietor of the listing on the increased degree and every subdirectory …

I have to additionally remember the fact that I appeared for Uchg flags (immutable), and though there have been none to make use of sudo chflags -R nouchg $listing That had no impact. I additionally used sudo chmod -RN $listing To eradicate ACL in case there have been one, additionally with out impact.

If I exploit ls -@AOelR $listing To get file flags, ACL and prolonged attributes, I get this:

drwxr-xr-x  3 username  workers  - 96 Apr 22 13:41 Backup

iPhoneBackup/Backup:
complete 0
drwxr-xr-x  258 username  workers  - 8256 Apr 22 13:18 00008110-000G309221F0401E

iPhoneBackup/Backup/00008110-000G309221F0401E:
complete 0
drwxr-xr-x  26 username  workers  -  832 Jan 13  2024 00
drwxr-xr-x  28 username  workers  -  896 Jan 13  2024 01
...(similar outcomes for every listing)

iPhoneBackup/Backup/00008110-000G309221F0401E/00:
complete 0
...(similar outcomes for every listing)

How do I eliminate this listing?

Related Articles

Latest Articles