0

Is it possible with bash to get the owncloud/nextcloud space size? I know there is a way in c# like this WebDAV get free space info but I need a way with bash. I want to use t in conky. Thanks

Mathias Conradt
  • 28,420
  • 21
  • 138
  • 192
beli3ver
  • 363
  • 3
  • 15

1 Answers1

0

You can access nextcloud via curl to get the webdav xml response. There you can find the space as an attribute. This is the attribute: http://greenbytes.de/tech/webdav/rfc4331.html And please use nextcloud instead of owncloud because it is actively maintained.

Darwiche
  • 39
  • 1