Skip to main content

Copy to a specific folder, all files within a directory, that match a particular extension

Project description

Selective copy

Copy to a specific folder, all files within a directory, that match a particular extension

Install

$ pip install selective-copy

How to use

# Import pakage
from selective_copy_files import selective_copy

#  Save local folders
from_folder = "c:\\user\\my_files"
to_folder = "c:\\user\\backup_of_my_files"
extention = "png"

# backup folder 
selective_copy.Copy(from_folder, to_folder, extention)

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

selective_copy_files-1.0.0.tar.gz (2.9 kB view hashes)

Uploaded Source

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