MToken::Command - utilities to replace common UNIX commands in Makefiles etc.
Version 1.01
perl -MMToken::Command -e COMMAND -- ARGUMENS
Utilities to replace common UNIX commands in Makefiles etc.
perl -MMToken::Command -e add -- 2017/07/03
Add file to Device
perl -MMToken::Command -e backupdelete -- myfooproject.20170703
Remove backup file from remote server
perl -MMToken::Command -e backupupdate -- backup/myfooproject.20170703
Update backup file on remote server
perl -MMToken::Command -e check -- 2017/07/03
Check files on Device
perl -MMToken::Command -e config -- PROJECTNAME
Configure the Device
perl -MMToken::Command -e cpgpgkey -- certs/public.key perl -MMToken::Command -e cpgpgkey -- certs/private.key
Copy public or private key file to Device
perl -MMToken::Command -e decrypt -- *.asc .tar.gz
GPG decrypt files
perl -MMToken::Command -e del
Remove file from Device
perl -MMToken::Command -e encrypt -- file.tar.gz file.asc
GPG encrypt file
perl -MMToken::Command -e fetch -- backup/myfooproject.20170703
Download backup file from remote server
perl -MMToken::Command -e genkey -- keys/myfooproject.key
Generate main key file for Device
echo "<mail@example.com>" | perl -MMToken::Command -e gpgrecipient -- etc/gpg.conf
Get default recipient for GPG encrypting/decrypting
perl -MMToken::Command -e info -- 20170731
Get information about actual backup file
perl -MMToken::Command -e list
Get list of backup files on server
perl -MMToken::Command -e serverconfig
Get configuration section for Apache2 server
perl -MMToken::Command -e show
Show current list of the device content
perl -MMToken::Command -e store -- backup/myfooproject.20170703
Send the backup file to remote server
perl -MMToken::Command -e untar -- restore/*.tar restore
Decompress downloaded backup from the server
perl -MMToken::Command -e update -- 2017/07/03
Update backup file on server
See Changes file
Changes
Serż Minus (Sergey Lepenkov) http://www.serzik.com <abalama@cpan.org>
Copyright (C) 1998-2019 D&D Corporation. All Rights Reserved
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/
LICENSE
To install MToken, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MToken
CPAN shell
perl -MCPAN -e shell install MToken
For more information on module installation, please visit the detailed CPAN module installation guide.