Skip to main content

Copy connected USB media device to current script directory.

Project description

Copy connected USB media device to current script directory. The copy() method will return a list with the path where the USB drive being copied.


The current version can be used only with Python 3. Tested on Windows(10) and Ubuntu(16.04 LTS).

To install (in Ubuntu having both Python2 and Python3 by default):

>>> sudo pip3 install copyusb

To install (in Windows with which has only Python 3 installed):

>>> sudo pip install copyusb

To use (with caution), simply do:

>>> import copyusb
>>> copy_result_list = copyusb.copy()

This will return a list with the destination path where the USB media device data has been copied. No matter how many USB media device is connected, this program will copy all of them.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for copyusb, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size copyusb-1.1.0.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page