Free disk space in Finder vs Terminal df command

i am in process of writing a shell script to backup our data.

before starting the backup process, i am checking how much space is left on the disk:


terminal> df -k /my_data_directory/

Filesystem 1024-blocks Used Available Capacity Mounted on

/dev/disk0s2 244781464 173055384 71470080 71% /



this states 71.47 GB free space on /


however, the Finder reports 96.17 GB free space on Macintosh HD (which is also mounted on /).


where does that difference come from? how can i "calculate" the real free disk space?


User uploaded file

MacBook Pro, Mac OS X (10.7.4), 13" 2.8 GHz i7 (late 2011)

Posted on May 30, 2012 5:05 AM

Reply
7 replies

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Free disk space in Finder vs Terminal df command

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.