How to determine amount of available storage space on a blank DVD in bash?
質問
I was wondering if there was a way to determine the amount of space available in a blank writable DVD using a bash command.
解決
Maybe use dvd+rw-mediainfo out of dvd+rw-tools and parse its output?
他のヒント
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
.
所属していません StackOverflow