I used to backup my iPhone to an exterior drive utilizing the directions right here however now that I’m backing as much as my inner exhausting drive (the default location) I wish to delete the previous backup. I used to be one way or the other profitable at deleting the information throughout the directories, so it not takes up any house, however I can not seem to delete the listing itself. If the listing is within the Trash and I’m going to empty it, it tells me the sub-directories are in use:
If the trail is saved in $listing
, whether or not I take advantage of rm -rf $listing
or sudo rm -rf $listing
, I get a Permission denied error for every sub-directory:
rm: /Volumes/VOLUME/iPhoneBackup/Backup/00008110-000G309221F0401E/61: Permission denied
So far as permissions go, I’m the proprietor of the highest degree listing and every sub-directory…
I must also word that I seemed for uchg (immutable) flags, and though there have been none I used sudo chflags -R nouchg $listing
which had no impact. I additionally used sudo chmod -RN $listing
to take away ACLs in case there have been any, additionally with no impact.
If I take advantage of ls -@AOelR $listing
to get file flags, ACLs, and prolonged attributes I get this:
drwxr-xr-x 3 username workers - 96 Apr 22 13:41 Backup
iPhoneBackup/Backup:
whole 0
drwxr-xr-x 258 username workers - 8256 Apr 22 13:18 00008110-000G309221F0401E
iPhoneBackup/Backup/00008110-000G309221F0401E:
whole 0
drwxr-xr-x 26 username workers - 832 Jan 13 2024 00
drwxr-xr-x 28 username workers - 896 Jan 13 2024 01
...[same results for each directory]
iPhoneBackup/Backup/00008110-000G309221F0401E/00:
whole 0
...[same results for each directory]
How do I eliminate this listing?