Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Copy Mp3s By Genre

by sacked (Hermit)
on Apr 26, 2004 at 22:29 UTC ( #348343=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open(FL, $File::Find::name);
    ...
    close(FL);
    
  2. or download this
    use File::Spec::Functions qw(catdir);
    ...
    $newdir = catdir( $dstdir => $dir );
    
  3. or download this
    eval { mkpath($newdir, 0, 0755) };
    if ($@) {
      print "canít mkdir $newdir: $@";
    }
    
  4. or download this
    use strict;
    use MP3::Info;
    ...
        # a directory as the second argument
        copy($path => $newdir) or die "copy failed: $!\n"; 
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://348343]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (16)
As of 2015-07-31 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (281 votes), past polls