没有项目描述

pycopier的Python项目详细描述


复印器

Build statusPyPI version

支持Python2.7/3.5及更高版本。如果你的python版本不能使用,请随意提交一个pr。欢迎使用prs!

基于python的多线程目录复制器。这是为了提供一种跨平台的多线程拷贝方式,类似于微软的robocopy。一些参数的实现类似于robocopy中同名的参数。(简单的robocopy调用可以通过用pycopier替换robocopy.exe来使用pycopier。)

安装

要安装,请向下克隆并在pycopier的顶部目录中运行:

python -m pip install .

python -m pip install pycopier

简单用法

安装后,您可以通过…

python -m pycopier SourceDir DestinationDir <optional params>

pycopier SourceDir DestinationDir <optional params>

扩展使用

    ____        ______            _
   / __ \__  __/ ____/___  ____  (_)__  _____
  / /_/ / / / / /   / __ \/ __ \/ / _ \/ ___/
 / ____/ /_/ / /___/ /_/ / /_/ / /  __/ /
/_/    \__, /\____/\____/ .___/_/\___/_/
      /____/           /_/

 ... a Python replacement for Robocopy, including multithreaded copy.

optional arguments:
  /h, //help   show this help message and exit

Robocopy Arguments:
  Arguments that more/less match Robocopy

  Source       Specifies the path to the source directory.
  Destination  Specifies the path to the destination directory.
  /MT MT       Creates multi-threaded copies with N threads. The default value
               for N is 8
  /create      Creates a directory tree and zero-length files only.
  /quit        Quits after processing command line (to view parameters).
  /purge       Deletes destination files and directories that no longer exist
               in the source.
  /move        Moves files and directories, and deletes them from the source
               after they are copied.
  /copyall     Copies all file information.
  /s           Copies subdirectories. Note that this option excludes empty
               directories. (robocopy's /e option for subdirectories including
               empties is default for pycopier)

PyCopier Arguments:
  Arguments that are specific to PyCopier

  /quiet       If set, be completely quiet during execution.

开发

所有的发展都发生在主分支(或从prs到master)上。一旦需要“发布”,版本等将在主分支中更新、标记并合并到发布分支。发布分支中不应该有任何尚未在主分支中的内容。

许可证

此项目通过麻省理工学院许可证提供

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java FloatingAction按钮与RecyclerView中的CardView重叠   java如何计算CardLayout中的卡数   从远程系统上传MySQL数据库并访问Java应用程序   java调用堆栈如何处理带或不带返回类型的递归?   Springboot中的java组计数聚集   java如何在javafx textarea中使用richtextfx   获取与Mockito相关的错误时出现Java问题   java如何将JaxRS响应转换为Wiremock响应   Hadoop集群java。net ConnectionException:连接被拒绝错误   java如何加载文件私有文件类型是pem   java在元空间中的提升和加载的类   如何将系统属性传递给从HTML启动的Java小程序   java如何从网页中获取值并在主类中使用它?安卓应用   java在春天,advisor和aspect之间有什么区别?   java如何检测文件是否已重命名?   java消息驱动Bean何时使用