Leser: 1
5 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/perl -w
use warnings;
use File::Find;
use File::Copy;
use strict;
my @directorie = ("K:/Test/");
my $muster = '.*jpg';
find(\&wanted, @directorie);
sub wanted
{
if ( $File::Find::name =~ /^$muster$/ )
{
move($_, 'K:/Bilder/' . $File::Find::name) or warn "$File::Find::name: $!";
}
return
}
move($File::Find::name, "K:/Bilder/" . $_) or warn "$File::Find::name: $!";
5 Einträge, 1 Seite |