管理包含敏感文档的安全存档
项目描述
焦油 GnuPG
管理包含敏感文档的安全存档。
您可能会想,“嘿,似乎已经有一个 gpgtar 似乎可以做到这一点,我为什么不使用它呢?”,根据您的需要,您可能是对的。最大的不同是这个包允许你将文件添加到现有的档案中。(从技术上讲,它会创建一个新的并覆盖您的旧的,但您无需担心这一点)。无论如何,这是我最大的用例。另外,我不擅长搜索,在写这个程序之前没有意识到这个程序的存在(我什至最初给它们起了相同的名字,巧合)。
用法
usage: targpg [-h] [-V] [-v] [-q] [-c] [-p PASSFILE] [-a [ADD ...]] [-x] [-u] [-d DIR]
[-e [EXTR ...]] [-o] [-l] archive
manage secure archive containing sensative docs
positional arguments:
archive tar file secured by gpg symetric password
optional arguments:
-h, --help show this help message and exit
-V, --version show program's version number and exit
-v, --verbose more verbose output
-q, --quite supress output
-c, --create create the file without confirmation if it does not exist
-p PASSFILE, --passfile PASSFILE
file with archive password stored in it
-a [ADD ...], --add [ADD ...]
add files to the archive
-x, --unique only add unique files, if the file exists an error is thrown
-u, --update overwrite existing files if any being passed in match
-d DIR, --directory DIR
when adding files, do it relative to this directory
-e [EXTR ...], --extract [EXTR ...]
extract the files from the archive, if no files given a prompt will ask
-o, --output directory to extract files to
-l, --list list the contents of the archive
创造
如果存档尚不存在,则自动创建存档。
密码文件
从文件而不是标准输入加载存档的密码。
添加
将新文件添加到存档中。如果--unique
使用该标志,则现有文件将导致错误。该--update
标志将用传入的文件替换现有文件。--directory
设置工作目录,以便相对于该目录添加文件。
提炼
从存档中提取文件。如果该标志不带参数使用,系统将询问您要提取哪些文件。该--output
标志将设置将文件提取到的目录。
列表
列出存档的内容。
链接
贡献
非常感谢您的帮助。首先检查是否有任何与您想要帮助的问题相关的问题。也可以随时对您所做的更改/修复提出拉取请求。
执照
项目详情
下载文件
下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。
源分布
targpg-1.0.1.tar.gz
(10.1 kB
查看哈希)
内置分布
targpg-1.0.1-py3-none-any.whl
(10.4 kB
查看哈希)