NAME

MToken::Command - utilities to replace common UNIX commands in Makefiles etc.

VIRSION

Version 1.01

SYNOPSIS

perl -MMToken::Command -e COMMAND -- ARGUMENS

DESCRIPTION

Utilities to replace common UNIX commands in Makefiles etc.

add

perl -MMToken::Command -e add -- 2017/07/03

Add file to Device

backupdelete

perl -MMToken::Command -e backupdelete -- myfooproject.20170703

Remove backup file from remote server

backupupdate

perl -MMToken::Command -e backupupdate -- backup/myfooproject.20170703

Update backup file on remote server

check

perl -MMToken::Command -e check -- 2017/07/03

Check files on Device

config

perl -MMToken::Command -e config -- PROJECTNAME

Configure the Device

cpgpgkey

perl -MMToken::Command -e cpgpgkey -- certs/public.key
perl -MMToken::Command -e cpgpgkey -- certs/private.key

Copy public or private key file to Device

decrypt

perl -MMToken::Command -e decrypt -- *.asc .tar.gz

GPG decrypt files

del

perl -MMToken::Command -e del

Remove file from Device

encrypt

perl -MMToken::Command -e encrypt -- file.tar.gz file.asc

GPG encrypt file

fetch

perl -MMToken::Command -e fetch -- backup/myfooproject.20170703

Download backup file from remote server

genkey

perl -MMToken::Command -e genkey -- keys/myfooproject.key

Generate main key file for Device

gpgrecipient

echo "<mail@example.com>" | perl -MMToken::Command -e gpgrecipient -- etc/gpg.conf

Get default recipient for GPG encrypting/decrypting

info

perl -MMToken::Command -e info -- 20170731

Get information about actual backup file

list

perl -MMToken::Command -e list

Get list of backup files on server

serverconfig

perl -MMToken::Command -e serverconfig

Get configuration section for Apache2 server

show

perl -MMToken::Command -e show

Show current list of the device content

store

perl -MMToken::Command -e store -- backup/myfooproject.20170703

Send the backup file to remote server

untar

perl -MMToken::Command -e untar -- restore/*.tar restore

Decompress downloaded backup from the server

update

perl -MMToken::Command -e update -- 2017/07/03

Update backup file on server

HISTORY

See Changes file

AUTHOR

Serż Minus (Sergey Lepenkov) http://www.serzik.com <abalama@cpan.org>

COPYRIGHT

Copyright (C) 1998-2019 D&D Corporation. All Rights Reserved

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See LICENSE file and https://dev.perl.org/licenses/