Re: Estimating left space on a CD...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Andrea Giuliano <a.giuliano@xxxxxxxxxxx> wrote:

> Hi,
> 
> I'm writing a BASH script to do simple backups on a
> CD-RW, but I can't
> find a way to know how much space is left on the
> medium.
> 
> A trivial solution could be mounting the medium and
> use "du -sk" on it,
> but the disadvantage of this method is that the
> result would just be the
> total length of the original files, while the ISO
> images are usually
> slightly longer. The result is an underestimated
> value.
> 
just an idea, while backing up files to cd
read manual mkisofs in "--print-size" section

> Any hints?
> 
> Best regards.
> 
> ----
> Andrea Giuliano, Ph. D.
> ICCU - Istituto Centrale per il Catalogo Unico
> Viale Castro Pretorio 105, Rome - ITALY
> Tel. +39064989509, Fax +39064059302
> 
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe:
> http://www.redhat.com/mailman/listinfo/fedora-list
> 



		
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux