Article View: es.comp.os.linux.programacion
Article #5906Re: obtener tamaño de un fichero
From: Vicente Gimeno
Date: Sun, 31 Aug 2003 18:53
Date: Sun, 31 Aug 2003 18:53
33 lines
1965 bytes
1965 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El Sun, 31 Aug 2003 18:32:49 +0200, kitano escribi�: > > Quiero meterle un comando para que me mire el tama�o de la imagen iso > creada con mkisofs. Lo �nico que se me ha ocurrido es esto: > > tam=`du /mnt/bkp/img | cut -c1-7` > > como ve�s uso du para obtener el tama�o de la imagen pero la verdad, me > parece un poco chapucero. Quisiera saber si hay alg�n comando Linux que > me diga el tama�o del fichero sin tener que recurrir a du. > La opci�n "-print-size" del propio mkisofs te lo soluciona. - -- ____ // ___ Vicente Gimeno - Electro7 //- // electro7@ono.com //__ // ICQ #75817900 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE/UkSFBc+KLh2TrqsRAsHOAJ4/bm12oP7YAyIEqlYR2gTYtOHjrwCfaVkO ijXPJ7sf+gG/Eotlh+eAWRM= =mIzp -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<slrnbl4h3v.cj.electro7@morgana.viciosos.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.rediris.es!bashful.rediris.es!newsf01.ono.com!news.ono.com.POSTED!not-for-mailReferences:
<bit7vv$gi9$1@cernicalo.emeteo.local>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,608fe3197f689bce X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2003-08-31 11:55:13 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.rediris.es!bashful.rediris.es!newsf01.ono.com!news.ono.com.POSTED!not-for-mail Newsgroups: es.comp.os.linux.programacion From: Vicente Gimeno <electro7@viciosos.org> Subject: Re: obtener tamaño de un fichero References: <bit7vv$gi9$1@cernicalo.emeteo.local> Organization: Viciosos Reply-To: electro7@ono.com Message-ID: <slrnbl4h3v.cj.electro7@morgana.viciosos.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: slrn/0.9.7.4 (Linux) Lines: 33 Date: Sun, 31 Aug 2003 18:53:43 GMT NNTP-Posting-Host: 81.202.8.22 X-Complaints-To: abuse@ono.com X-Trace: news.ono.com 1062356023 81.202.8.22 (Sun, 31 Aug 2003 20:53:43 MET DST) NNTP-Posting-Date: Sun, 31 Aug 2003 20:53:43 MET DST