www.fromthevalley.com.au

Read Directory Attributes

#!/usr/bin/perl


use Data::Dumper;

@lnes=readpipe("find . ! -type d -ls | grep './' ");

foreach $i (@lnes){

    chomp($i);
    print $i."\n";
    @row = split(/ /,$i);
    print Dumper(\@row);
}

 

------------------------------------------------------------------------------------------------------------------------

Read in a directory and get all attributes.

 ------------------------------------------------------------------------------------------------------------------------

HOME |  AJAX |  APACHE |  Bizphone |  CSS |  DNS |  General |  Graphics |  HTML |  Hardware |  Javascript |  Linux |  MAC |  MS SQL |  Mail |  Microsoft |  OFFICE 365 |  Perl |  Postgres |  SEO |  Social Media |  VMware |  Windows 10