Skip to main content

Copies file data from one location to another.

Project description

Package robocopy

Copies file data from one location to another.

Usage

Import the library

pip install py-robocopy

Syntax

robocopy <source> <destination> [<file>[ ...]] [<options>]

For example, to copy a file named yearly-report.mov from c:\reports to a file share \marketing\videos while enabling multi-threading for higher performance (with the /mt parameter) and the ability to restart the transfer in case it's interrupted (with the /z parameter), type: robocopy c:\reports "\\marketing\videos" yearly-report.mov /mt /z

For more details : https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy

Parameters

Parameter Description

  • <source> Specifies the path to the source directory.
  • <destination> Specifies the path to the destination directory.
  • <file> Specifies the file or files to be copied. Wildcard characters (* or ?) are supported. If you don't specify this parameter, . is used as the default value.
  • <options> Specifies the options to use with the robocopy command, including copy, file, retry, logging, and job options.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py-robocopy-0.0.3.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

py_robocopy-0.0.3-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page