NAME
MToken::Command - utilities to replace common UNIX commands in Makefiles etc.
VIRSION
Version 1.00
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
del
perl -MMToken::Command -e del
Remove file from Device
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
gpgfileprepare
perl -MMToken::Command -e gpgfileprepare -- restore/* .tar.gz.gpg
Rename file downloaded file
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
Sergey Lepenkov (Serz Minus) http://www.serzik.com <abalama@cpan.org>
COPYRIGHT
Copyright (C) 1998-2017 D&D Corporation. All Rights Reserved
LICENSE
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
See LICENSE
file