From owner-freebsd-current Tue Jan 11 14: 5:15 2000 Delivered-To: freebsd-current@freebsd.org Received: from xena.cs.waikato.ac.nz (xena.cs.waikato.ac.nz [130.217.241.20]) by hub.freebsd.org (Postfix) with ESMTP id 1CA0D1502A for ; Tue, 11 Jan 2000 14:05:07 -0800 (PST) (envelope-from joerg@lucy.cs.waikato.ac.nz) Received: from lucy.cs.waikato.ac.nz (joerg@lucy.cs.waikato.ac.nz [130.217.241.12]) by xena.cs.waikato.ac.nz (8.9.3/8.9.3) with ESMTP id LAA07469; Wed, 12 Jan 2000 11:04:58 +1300 (NZDT) Received: (from joerg@localhost) by lucy.cs.waikato.ac.nz (8.9.3/8.9.0) id LAA03479; Wed, 12 Jan 2000 11:04:56 +1300 (NZDT) Date: Wed, 12 Jan 2000 11:04:56 +1300 From: Joerg Micheel To: current@freebsd.org Cc: joerg@cs.waikato.ac.nz Subject: Additional option to ls -l for large files Message-ID: <20000112110456.X5228@cs.waikato.ac.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: SCMS, The University of Waikato, Hamilton, New Zealand Project: WAND - Waikato Applied Network Dynamics, DAG Operating-System: ... drained by Solaris 7 SPARC Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm currently dealing with an increasing set of *very* large files, most of them in the order of gigabytes. It becomes impossible to figure the size of a file with ls -l with 9 or more digits displayed. I would propose a new flag to ls which will together with option -l change the unit to kilobytes for files larger than one megabyte, to megabytes for files larger than one gigabyte and gigabytes for files larger than one terabyte. A 'k', 'm' or 'g' respectively should be appended. Would such a patch find the blessing of the team and the maintainer of ls ? Joerg -- Joerg B. Micheel Email: Waikato Applied Network Dynamics Phone: +64 7 8384794 The University of Waikato, CompScience Fax: +64 7 8384155 Private Bag 3105 Pager: +64 868 38222 Hamilton, New Zealand Plan: TINE and the DAG's To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message