Mailing List Archive


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

[tlug] Quota tricks in perl



I've seen several perl scripts for looking at (or even
manipuulating) quotas, but they were all missing one
trick I want:  to find the owner of each directory
below the current one and check that user's quota and usage, so
I need to modify one for that little bit.

I was thinking that the way to do this is to do the equivalent
of ls -l in the current directory, split that line on whitespace,
and extract the owner, but haven't been able to find the way to
do that.  Anyone know where I can find instructions for this, or
a ready-made one?  Or of course, a better way to do it if I'm
all wet here :-)

Shell-script is OK, too, but I'm more familiar with perl.

Tx,

Jonathan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links