Thread Backup: Verschieben v. Dateien (6 answers)
Opened by Gast at 2006-06-13 13:32

renee
 2006-06-13 13:36
#34477 #34477
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Du solltest Dir vielleicht mal CPAN:File::NCopy anschauen!

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/perl

use strict;
use warnings;
use File::NCopy;

my $path_files = 'Structure/';
my $path_files_history = 'Structure.Backup/';

my $file = File::NCopy->new(recursive => 1);
$file->copy($path_files,$path_files_history);
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread Backup: Verschieben v. Dateien