Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 romping around the Monastery: (5)
As of 2014-09-17 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (100 votes), past polls