Skip to main content

A project for shadowcopy

Project description

shadowcopy

shadowcopy is a module for performing file copies from 'shadows' on Windows. Shadow copies are typically used to copy files that are locked for usage by other processes.

More info on shadow copies in Windows can be found here

Creating/Deleting shadow copies requires admin access.

Installing

pip install shadowcopy

Example

from shadowcopy import shadow_copy

# Internally this creates a shadow copy instance via WMI, copies the file, then deletes the shadow copy.
shadow_copy("source.txt", "destination.txt")

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

shadowcopy-0.0.4.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

shadowcopy-0.0.4-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file shadowcopy-0.0.4.tar.gz.

File metadata

  • Download URL: shadowcopy-0.0.4.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for shadowcopy-0.0.4.tar.gz
Algorithm Hash digest
SHA256 ed89817dda065f893607a04c0b7d6b3b34c3507a4711f441111a4bcb1b1826c0
MD5 2d6a8c36b66f9f473917338da4ed3c31
BLAKE2b-256 1244c00420a3b7bcdf830529b933392b566c876a4944a24f31e126eb6fd28647

See more details on using hashes here.

File details

Details for the file shadowcopy-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: shadowcopy-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for shadowcopy-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fc51e59a639dc6a5a3a7a9b4e3ecadc71989e339f2d995d90aaa491acd4ba4eb
MD5 5fb589a1ce56baa35f2869d095bc25e5
BLAKE2b-256 ad32fdea8e7f7b2b8bae13ee6ab7df1a10d28a24dbeb03a62ff033563f95d77c

See more details on using hashes here.

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