I used to be getting the identical outcome.
There appears to be two issues:
- The
-a
swap seems assured to journey issues up in Sonoma (as of 14.4.1). - Trailing listing slashes on the supplied paths achieve this additionally.
The -a
performance might be finished manually. i.e., studying man tmutil
for the associatedisk
verb it explains that the -a
swap, “tells associatedisk to seek out all quantity shops in the identical machine listing that match the id of , after which carry out the affiliation on all of them.”
So too, the trailing slashes might be simply omitted.
To script this up, then, I did the next:
for hd in `discover /Volumes//Backups.backupdb/ -mindepth 1 -maxdepth 1 -type d -exec echo {} ; -exec sudo tmutil associatedisk /Volumes/ {}/ ;
Which in my case interprets to:
discover /Volumes/LDBackups/Backups.backupdb/LDeck -mindepth 1 -maxdepth 1 -type d -exec echo {} ; -exec sudo tmutil associatedisk /Volumes/Macintosh HD {}/Macintosh HD ;
The output was:
% discover /Volumes/LDBackups/Backups.backupdb/LDeck -mindepth 1 -maxdepth 1 -type d -exec echo {} ; -exec sudo tmutil associatedisk /Volumes/Macintosh HD {}/Macintosh HD ;
/Volumes/LDBackups/Backups.backupdb/LDeck/2020-12-30-082241
/Volumes/LDBackups/Backups.backupdb/LDeck/2021-01-07-175015
/Volumes/LDBackups/Backups.backupdb/LDeck/2021-01-14-153648
/Volumes/LDBackups/Backups.backupdb/LDeck/2021-01-23-192920
/Volumes/LDBackups/Backups.backupdb/LDeck/2021-01-30-075946
/Volumes/LDBackups/Backups.backupdb/LDeck/2021-02-10-153457
/Volumes/LDBackups/Backups.backupdb/LDeck/2021-02-17-104302
/Volumes/LDBackups/Backups.backupdb/LDeck/2021-02-24-222334
/Volumes/LDBackups/Backups.backupdb/LDeck/2021-03-04-185027
/Volumes/LDBackups/Backups.backupdb/LDeck/2021-03-12-043926
/Volumes/LDBackups/Backups.backupdb/LDeck/2021-04-21-211850
/Volumes/LDBackups/Backups.backupdb/LDeck/2021-04-28-092243
/Volumes/LDBackups/Backups.backupdb/LDeck/2021-05-06-064915
/Volumes/LDBackups/Backups.backupdb/LDeck/2021-06-13-072631
/Volumes/LDBackups/Backups.backupdb/LDeck/2021-06-13-111011
/Volumes/LDBackups/Backups.backupdb/LDeck/2021-06-13-171707
/Volumes/LDBackups/Backups.backupdb/LDeck/2021-06-13-200123
/Volumes/LDBackups/Backups.backupdb/LDeck/2021-06-14-085920