How to determine amount of available storage space on a blank DVD in bash?
Pergunta
I was wondering if there was a way to determine the amount of space available in a blank writable DVD using a bash command.
Solução
Maybe use dvd+rw-mediainfo out of dvd+rw-tools and parse its output?
Outras dicas
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
.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow