Hello Joni,
Wednesday, June 27, 2001, PURMONEN, Joni <[EMAIL PROTECTED]> wrote:
PJ> I need to check the group status on numerous files/directories, and haven't
PJ> been able to fing out the best way to do it with perl. I simply need to see
PJ> if some directories do not have certain group set on them.
PJ> Can anyone give any pointers?
if i correctly understand, you need 'stat' function.
($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
$atime,$mtime,$ctime,$blksize,$blocks)
= stat($filename);
perldoc -f stat
Best wishes,
Maxim mailto:[EMAIL PROTECTED]