Easy-Print简印

Jan 于 2024-08-01 发布 浏览量

Easy-Print–简印

Easy-Print是一个用于打印指定目录中文件及其内容的 Python 脚本。支持排除指定的文件或目录,并将结果输出到指定的输出文件中。

功能特点

安装python3

yum -y insatll python3
python3 --version

用法

使用以下命令格式运行脚本:

Easy-Print.py

也可以指定参数

Easy-Print.py -d  <dir_copy>-n <file_or_directory_to_exclude> -o <output_file_name>

添加到环境变量(任何路径都可以使用脚本)

echo 'export PATH=$PATH:/root/Easy-Print' >> ~/.bashrc
source ~/.bashrc

Github主页

Easy-Print

linux用法

image

windows用法

image

Easy-Print.py下载


作于2024年08月01日