sync-camera-disk


Namesync-camera-disk JSON
Version 0.8.1 PyPI version JSON
download
home_pagehttps://github.com/micktwomey/sync-camera-disk/
SummarySync files from camera SDs to different media
upload_time2024-09-18 23:06:46
maintainerNone
docs_urlNone
authorMichael Twomey
requires_python<4.0,>=3.11
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Sync Camera Disk

- Code: https://github.com/micktwomey/sync-camera-disk/
- PyPI: https://pypi.org/project/sync-camera-disk/

This is tool for syncing SDs and USB disk mounted cameras to my NAS for later importing into apps.

The goal is to ingest photos and videos onto the NAS and be confident I can delete them off the camera when done.

In addition: multiple sequential runs should be idempotent.

Overall approach:

1. Identify which disks are plugged in
2. Lookup configuration for how to map files
3. Build a list of files to copy (each file should be a set of files to keep related files together)
4. Use mapping to translate files to destination names
5. Lookup files in destination to determine which need to be copied (for existing files use stat to determine if they are the same)
6. (TODO) Build hashes for verification of files

By default treat identically named files which different metadata as an error.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/micktwomey/sync-camera-disk/",
    "name": "sync-camera-disk",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.11",
    "maintainer_email": null,
    "keywords": null,
    "author": "Michael Twomey",
    "author_email": "mick@twomeylee.name",
    "download_url": "https://files.pythonhosted.org/packages/97/5b/e9bcc050a2d20c90284faf1032a85b3d6d9f8e982ae7bd436fd4216e8e91/sync_camera_disk-0.8.1.tar.gz",
    "platform": null,
    "description": "# Sync Camera Disk\n\n- Code: https://github.com/micktwomey/sync-camera-disk/\n- PyPI: https://pypi.org/project/sync-camera-disk/\n\nThis is tool for syncing SDs and USB disk mounted cameras to my NAS for later importing into apps.\n\nThe goal is to ingest photos and videos onto the NAS and be confident I can delete them off the camera when done.\n\nIn addition: multiple sequential runs should be idempotent.\n\nOverall approach:\n\n1. Identify which disks are plugged in\n2. Lookup configuration for how to map files\n3. Build a list of files to copy (each file should be a set of files to keep related files together)\n4. Use mapping to translate files to destination names\n5. Lookup files in destination to determine which need to be copied (for existing files use stat to determine if they are the same)\n6. (TODO) Build hashes for verification of files\n\nBy default treat identically named files which different metadata as an error.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Sync files from camera SDs to different media",
    "version": "0.8.1",
    "project_urls": {
        "Homepage": "https://github.com/micktwomey/sync-camera-disk/",
        "Repository": "https://github.com/micktwomey/sync-camera-disk/"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "04185a74d2499dcba46bd75f35b6254dd1a2f4926cf5faad0b248f426d8ec66d",
                "md5": "c1e47e1fa6062f118ff8605e1f9d1bf7",
                "sha256": "340e28cef009330c7d66fa72fcabdae2a7d29894f163c5f9654a20f94c69b6c4"
            },
            "downloads": -1,
            "filename": "sync_camera_disk-0.8.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c1e47e1fa6062f118ff8605e1f9d1bf7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.11",
            "size": 21904,
            "upload_time": "2024-09-18T23:06:44",
            "upload_time_iso_8601": "2024-09-18T23:06:44.533767Z",
            "url": "https://files.pythonhosted.org/packages/04/18/5a74d2499dcba46bd75f35b6254dd1a2f4926cf5faad0b248f426d8ec66d/sync_camera_disk-0.8.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "975be9bcc050a2d20c90284faf1032a85b3d6d9f8e982ae7bd436fd4216e8e91",
                "md5": "2078014e2c4e57443c5d3b834950e5fd",
                "sha256": "d5cc7118d81282f7897512e3f09721f128b7d9f52f80e2fa329c4682d9329a42"
            },
            "downloads": -1,
            "filename": "sync_camera_disk-0.8.1.tar.gz",
            "has_sig": false,
            "md5_digest": "2078014e2c4e57443c5d3b834950e5fd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.11",
            "size": 13333,
            "upload_time": "2024-09-18T23:06:46",
            "upload_time_iso_8601": "2024-09-18T23:06:46.098363Z",
            "url": "https://files.pythonhosted.org/packages/97/5b/e9bcc050a2d20c90284faf1032a85b3d6d9f8e982ae7bd436fd4216e8e91/sync_camera_disk-0.8.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-18 23:06:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "micktwomey",
    "github_project": "sync-camera-disk",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "sync-camera-disk"
}
        
Elapsed time: 0.34522s