Hello All,
I was asked to generate a report for all mac devices with three columns printing total physical size of the disk, total used space by user and OS/system and available free space can be used by user in future.
Now the problem is that if I use diskutil list, diskutil info / and df -h for all commands I am getting different values for each and every requirement, please help to find the most appropriate command for each.
I think diskutil list can provide me the most perfect physical size of the disk, and df -h is good for end user's available space and total space consumed by user and OS/system. Please correct me if I am wrong here.