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 details)

Uploaded Source

File details

Details for the file selective_copy_files-1.0.0.tar.gz.

File metadata

  • Download URL: selective_copy_files-1.0.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/2.7.16

File hashes

Hashes for selective_copy_files-1.0.0.tar.gz
Algorithm Hash digest
SHA256 63aaf5304408186f4caec36457ee18ff6fe21d67e7481d3bd51575c6a0af66f7
MD5 ddce380e9f3fc5d060b73bf63ddb9938
BLAKE2b-256 b7539fb0dc8377ac55a0dddc6fc5c4cced6e6d86e08fbee7993dbdab09dd7380

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