How to determine amount of available storage space on a blank DVD in bash?
Frage
I was wondering if there was a way to determine the amount of space available in a blank writable DVD using a bash command.
Lösung
Maybe use dvd+rw-mediainfo out of dvd+rw-tools and parse its output?
Andere Tipps
If you mount the DVD and use the df
command this will show you the amount of free space for all devices.
If you'd like a more readable format you can also use df -h
.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow