Rand Stats

App::Backup

zef:grizzlysmit

BackupAndSync

Table of Contents

NAME

BackupAndSync.rakumod

AUTHOR

Francis Grizzly Smit (grizzly@smit.id.au)

VERSION

0.2.8

TITLE

BackupAndSync.rakumod

SUBTITLE

A Raku module for supporting the backup and sync of a set of boxes.

COPYRIGHT

LGPL V3.0+ LICENSE

Top of Document

Introduction

A B<Raku> module for supporting the backup and sync of a set of boxes.

sub backup-device-val(--> Str) is export

sub backup-device-val(--> Str) is export

Top of Document

sub put-in-dirs

sub put-in-dirs(
    Str @hosts,
    Str $thishost,
    Bool $silent,
    Bool $yes is copy,
    Int $first where { ... },
    Int $last where { ... },
    *@files
) returns Bool

put all files matching current* (excluding current itself) into directory current where current is succesively each value from first to last and then put files into first