I need to write a bash script for backup. I should get the information if there is a CD-RW in the CD drive and how much the space is available on this CD-RW. I can not find the commands to fullfil the requirement. Anyone know how to get the information I need?
Thanks.
Pengpeng
Thanks.
Pengpeng