Skip to main content

Tool for saving files off SD cards

Project description

sdcopy

sdcopy is a command-line tool designed to copying files from your camera or any SD cards into structured folders based on the last modified time.

The tool offers flexibility command-line options, allowing you to customize the destination folder structure and handle different type of files effectively.

Features

  • Timestamp-based Organization: Files are copied to the destination directory with folders structured according to their modification timestamps.
  • Concurrent Execution: Utilized multithreading for faster file copying.
  • Dry-run Mode: Preview the file organization without actually making changes.

Installation

  • Ensure you have Python 3.11.x installed
  • Install project via pip: pip install sdcopy

Usage

Command-line Options

Usage: sdcopy [OPTIONS] [SOURCE]... DEST

  • SOURCE: Source directory/directories from which files will be copied.
  • DEST: Destination directory where organized files will be copied. It accepts strftime format: %Y-%m-%d
  • --ext: Only selected file extensions will be processed.
  • --dry-run: Perform a trial run without making changes.
  • --threads: Number of concurrent thread for file copying (default: 4).

Example command: copying jpg/jpeg files into separate folders by file modified time and YYYY-MM-DD format

sdcopy /path/to/source /path/to/destination/%Y-%m-%d/ --ext jpg jpeg"

License

sdcopy is licensed under the MIT License. See the LICENSE file for details.

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

sdcopy-0.3.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sdcopy-0.3.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file sdcopy-0.3.0.tar.gz.

File metadata

  • Download URL: sdcopy-0.3.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sdcopy-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1e1037d20e664355285cc6b756e75f651916451de1e085178fdd2fe4f57415a5
MD5 76fb115da9b890d144125d4fda437b2a
BLAKE2b-256 196836fb6526b83cc2553d0e3dcc36d93dc11923f32a33c497bd6cb6d9ecd805

See more details on using hashes here.

File details

Details for the file sdcopy-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: sdcopy-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sdcopy-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f16ecaf8c39296f938b9984ced0d2e0e120b6ad183b64859c6ceb2e3aeb1908
MD5 d5891792d94a58160c67dad6054fcca4
BLAKE2b-256 dc3c19981efff4cea506ab4aed0a6e0cc3730f6484a2e63639713f62e40091d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page