Complete.Org: Mailing Lists: Archives: discussion: December 1998:
Re: [aclug-L] shell script
Home

Re: [aclug-L] shell script

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: aclug-L@xxxxxxxxxxxx
Subject: Re: [aclug-L] shell script
From: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Date: Fri, 11 Dec 1998 10:57:21 -0600
Reply-to: aclug-L@xxxxxxxxxxxx

On Mon, Dec 07, 1998 at 08:07:50AM +0000, Jesse Kaufman wrote:

> hey, was it John that wrote me that shell script that listed my mp3z?

Yes.  You can find it in the list archives at:

http://www.complete.org/mailinglists/archives/aclug-l-9810/msg00250.html

#!/bin/bash

echo -n "Total space used (K): "
du -sk .
echo -n "Total number of files: "
find . -type f | wc -l
echo "  FILE LISTING:"
ls -lRat

That's not very complex but maybe it does what you need.  What else are you
wanting that this script may not do?

-- 
John Goerzen   Linux, Unix consulting & programming   jgoerzen@xxxxxxxxxxxx |
Developer, Debian GNU/Linux (Free powerful OS upgrade)       www.debian.org |
----------------------------------------------------------------------------+
Visit the Air Capital Linux Users Group on the web at http://www.aclug.org
---
This is the Air Capital Linux Users Group discussion list.  If you
want to unsubscribe, send the word "unsubscribe" to
aclug-L-request@xxxxxxxxxxxx.  If you want to post to the list, send your
message to aclug-L@xxxxxxxxxxxx.



[Prev in Thread] Current Thread [Next in Thread]