Metadata-Version: 2.1
Name: shadowcopy
Version: 0.0.4
Summary: A project for shadowcopy
Author-email: csm10495 <csm10495@gmail.com>
License: MIT License
Project-URL: homepage, https://github.com/csm10495/shadowcopy
Project-URL: repository, https://github.com/csm10495/shadowcopy
Project-URL: documentation, https://csm10495.github.io/shadowcopy
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: wmi

# 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](https://learn.microsoft.com/en-us/windows-server/storage/file-server/volume-shadow-copy-service)

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")
```
