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 arduous drive (the default location) I wish to delete the previous backup. I used to be by some means profitable at deleting the info throughout the directories, so it not takes up any area, 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 exploit 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 stage listing and every sub-directory…
I must also observe that I appeared 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 exploit 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:
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
...[same results for each directory]
iPhoneBackup/Backup/00008110-000G309221F0401E/00:
complete 0
...[same results for each directory]
How do I do away with this listing?