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 shadown 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.2.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file shadowcopy-0.0.2.tar.gz
.
File metadata
- Download URL: shadowcopy-0.0.2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0caa39fd877d21e284fcc45c7a71f188649373a99fd5b2a5316d677e48276b6c |
|
MD5 | 570374a88ac91f3fc921b9f994116a91 |
|
BLAKE2b-256 | 01de952a00f2b726bebf58fd7e72ae8ce892aebfe9e0dff49d6e9385ae9374b0 |
File details
Details for the file shadowcopy-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: shadowcopy-0.0.2-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c24a8919113b3becec0e45c6b1a78ee9a2a626b79629c0027657809f9e03ebc1 |
|
MD5 | 235ee41ad7b18a0f2057a1f418800cb6 |
|
BLAKE2b-256 | 549bfc719b87b85b3554ab339ef29c6ef1a996c71bbc83f224b5e2c39be489bd |