Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use File::Copy;
    ...
    for $f (glob("$src\*")) {
      move($f, "\out");
    }
    
  2. or download this
    #!/usr/bin/perl
    use File::Copy;
    ...
    while ($f = readdir(DIR)) {
      move("$src\$f", "\out");
    }