Complete.Org: Mailing Lists: Archives: discussion: October 1998:
Re: [aclug-L] mp3 lister
Home

Re: [aclug-L] mp3 lister

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: aclug-L@xxxxxxxxxxxx
Subject: Re: [aclug-L] mp3 lister
From: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Date: 22 Oct 1998 06:47:22 -0500
Reply-to: aclug-L@xxxxxxxxxxxx

OK, this is quick, dirty, inefficient, ugly, etc.  But it's simple:

#!/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 it.  Slick, eh? :-)
 
Try doing that in Windows <g>

John

Jesse Kaufman <kaufmjes@xxxxxxxxxxxxxxxxx> writes:

> um, seeing how this wondrous program i'm creating will take a few more hours
> to finish : ^ ) , does anyone know of an existing mp3 lister for linux?
> actually, it doesn't just have to list mp3z, i want something that will give
> me a list of files in a directory with some sort of cheesy header that lists
> the # of files, and atleast the date created...  nothing fancy, but
> whatever...  ls -R --color=none > filelist.txt works ok, but want to know
> how many total files, and how many megs i have..
> 
> jesse
> 
> ---
> This is the Air Capitol 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.
> 

-- 
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 Capitol 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]