Command to get directory space in a variable similar to statfs command in c++
I know statfs returns information about a mounted filesystem in the buffer passed to it. I need a similar inbuilt function to get the space of a directory on passing the directory path to it. Can someone please help me with this? TIA!
Aucun commentaire:
Enregistrer un commentaire