well i found a better way than ever i think :) please digest this code:
use warnings; use strict; use diagnostics; open (my $file, '<', $ARGV[0]) || die "lifes great when your a noob pr +ogrammer :) $!" my @array; foreach my $line (<$file>) { push( @array, $line ); } foreach my $element (@array) { if ( $element =~ "Path" ) { print "\n$element"; } elsif ( $element =~ "KB" || $element =~ "MB" ) { my ( $md5, $blank, $file, $filesize, $bits ) = split /\s/, $el +ement; print "$md5 $blank $file $filesize $bits\n"; } }
this eliminates all arrays except for the one, amd it should only be slightly trivial to setup the extraction process from this since i got full path, filename, md5, filesize, blank spaces, KB or MB. to bad i didnt think of this 3 or 4 days ago <.< cz i dont think its gonna get to much lazier than this lol. everything i need is right in that text file :) here is the new file and the other files are somewhere else in this thread;

In reply to Re^8: directories and sub directories and copying or moving hundereds or thousands of files :) by james28909
in thread directories and sub directories and copying or moving hundereds or thousands of files :) by james28909

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.