Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Copy Mp3s By Genre

by sacked (Hermit)
on Apr 26, 2004 at 18: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
Domain Nodelet?
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 imbibing at the Monastery: (6)
As of 2023-03-22 11:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?