Skip to main content

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.

Metadata

Release files for sdcopy 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sdcopy 0.3.0
File Size Uploaded
sdcopy-0.3.0.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sdcopy 0.3.0
File Interpreter ABI Platform
sdcopy-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.7 kB

Release files / sdcopy-0.3.0.tar.gz

Download URL sdcopy-0.3.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1e1037d20e664355285cc6b756e75f651916451de1e085178fdd2fe4f57415a5
BLAKE2b-256 checksum
How to use checksums
196836fb6526b83cc2553d0e3dcc36d93dc11923f32a33c497bd6cb6d9ecd805
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / sdcopy-0.3.0-py3-none-any.whl

Download URL sdcopy-0.3.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f16ecaf8c39296f938b9984ced0d2e0e120b6ad183b64859c6ceb2e3aeb1908
BLAKE2b-256 checksum
How to use checksums
dc3c19981efff4cea506ab4aed0a6e0cc3730f6484a2e63639713f62e40091d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page