Leser: 2
|< 1 2 >| | 11 Einträge, 2 Seiten |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use strict;
use File::Copy;
use File::Copy::Recursive qw(dircopy);
# src - pfad
# dest - pfad
# trash - pfad
my $system = 'C:/Entwicklung/Perl/projects/Testen';
my $src = $system . '/src';
my $src = 'C:/Drv/A/1';
my $dest = $system . '/dest';
my $trash = $system . '/trash';
&dircopy($src, $dest) or die $!;
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use strict;
use File::Copy;
use File::NCopy;
# src - pfad
# dest - pfad
# trash - pfad
my $system = 'C:/Entwicklung/Perl/projects/Testen';
my $src = $system . '/src';
my $dest = $system . '/dest';
my $trash = $system . '/trash';
my $file = File::NCopy->new('recursive' => 1);
$file->copy ($src,$dest);
|< 1 2 >| | 11 Einträge, 2 Seiten |