Command line method to find disk usage of camera mounted using gvfs
Posted
by
Hamish Downer
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Hamish Downer
Published on 2012-09-01T07:31:04Z
Indexed on
2012/09/01
9:50 UTC
Read the original article
Hit count: 412
When my camera was mounted on /media
I could use the standard tools (df
) to see the disk usage of the card in my camera. However now the camera is mounted using gvfs, and df seems to ignore it. I've also tried pydf and discus to no avail.
The camera is definitely available through nautilus, and when I select the camera in nautlius, the status bar tells me the amount of disk free. I can also open the ~/.gvfs/
folder in nautilus and right click on the camera folder and get the disk usage in a graphical way.
But that is no use for a script. Are there command line tools that are the equivalent of df
for gvfs filesystems? Or even better, a way to make df
report on gvfs filesystems?
© Ask Ubuntu or respective owner