Why not adopt me?
This distribution is up for adoption!
If you're interested then please contact the PAUSE module admins via
email.
NAME
Proc::JobQueue::Move - move files from one place to another
SYNOPSIS
use Proc::JobQueue::BackgroundQueue;
use aliased 'Proc::JobQueue::Command';
my $queue = new Proc::JobQueue::BackgroundQueue;
use aliased 'Proc::JobQueue::Move';
my $job = Move->new($opts, $config, $from_file, $to_file, $to_host);
$queue->add($job);
$queue->finish;
DESCRIPTION
This is a subclass of Proc::JobQueue::Job. In the background, move a file to a new location (possibly on a new host).
scp will be used to move files to remote locations. The trust relationships must already exist. Files will be compressed in transit if $config-{compress_network_copies}> is true.
Only one copy job per destination host is allowed to run simultaneously.
If the $to_host matches Sys::Hostname::hostname then the mv command will be used instead of scp.
SEE ALSO
Proc::JobQueue Proc::JobQueue::Job Proc::JobQueue::BackgroundQueue
LICENSE
This package may be used and redistributed under the terms of either the Artistic 2.0 or LGPL 2.1 license.