dphoto

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2021 License: AGPL-3.0 Imports: 3 Imported by: 0

README

DPhoto - Delegate

Installed on the end-user computer, backup photos and videos using command line interface.

Getting Started

Usage is available with help command:

$ dphoto help
Backup photos and videos to your personal AWS Cloud.

Usage:
  dphoto [command]

Available Commands:
  album        Organise your collection into albums
  backup       Backup photos and videos to personal cloud
  configure    Configuration wizard to grant dphoto access AWS resources.
  help         Help about any command
  housekeeping Run housekeeping script to perform delayed operations
  scan         Discover directory structure to suggest new albums to create
  version      Print the version

Flags:
      --config string   use configuration file provided instead of searching in ./ , $HOME/.dphoto, and /etc/dphoto
      --debug           enable debug logging
  -h, --help            help for dphoto

Use "dphoto [command] --help" for more information about a command.

Contribute

Test and build:

go test ./...
go build

# or
make

Documentation

Overview

Copyright © 2020 Thomas Duchatelle <duchatelle.thomas@gmail.com>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Directories

Path Synopsis
Package backup is providing commands to inspect a file system (hard-drive, USB, Android, S3) and backup medias to a remote DPhoto storage.
Package backup is providing commands to inspect a file system (hard-drive, USB, Android, S3) and backup medias to a remote DPhoto storage.
adapters/exif
Package exif parse image files to extract key details.
Package exif parse image files to extract key details.
adapters/filesystem
Package filesystem scan a local filesystem to find medias on it
Package filesystem scan a local filesystem to find medias on it
adapters/localstorage
Package localstorage provides a temporary location where files can be copied to be quickly read for analyse.
Package localstorage provides a temporary location where files can be copied to be quickly read for analyse.
adapters/m2ts
Package m2ts is parsing M2TS files followings specs: https://en.wikipedia.org/wiki/MPEG_transport_stream https://en.wikipedia.org/wiki/Packetized_elementary_stream https://en.wikipedia.org/wiki/Program-specific_information
Package m2ts is parsing M2TS files followings specs: https://en.wikipedia.org/wiki/MPEG_transport_stream https://en.wikipedia.org/wiki/Packetized_elementary_stream https://en.wikipedia.org/wiki/Program-specific_information
adapters/mp4
Package mp4 parse a MP4 file to retrieve creation date, length, and other details found in the stream.
Package mp4 parse a MP4 file to retrieve creation date, length, and other details found in the stream.
adapters/onlinestorage
Package onlinestorage provides operations to the location where medias are backed-up.
Package onlinestorage provides operations to the location where medias are backed-up.
adapters/volumes
Package volumes is storing snapshot of the last backup so most media do not need to be re-analysed on next backup.
Package volumes is storing snapshot of the last backup so most media do not need to be re-analysed on next backup.
backupmodel
Package backupmodel define the common language used within backup package (between interactors, adapters, and backup consumers)
Package backupmodel define the common language used within backup package (between interactors, adapters, and backup consumers)
interactors/downloader
Package downloader provides an alternative to a local temporary storage.
Package downloader provides an alternative to a local temporary storage.
Package catalog provides tools to maintain an index of all medias that have been backed up.
Package catalog provides tools to maintain an index of all medias that have been backed up.
adapters/dynamo
Package dynamodb package store all the data in a single multi-tenant table: - OWNER > Album X meta > Album Y meta - MEDIA (OWNER#SIGNATURE) > #META > LOCATION > MOVE LOCATION > MOVE LOCATION - MOVE TRANSACTION (...#uniqueID)
Package dynamodb package store all the data in a single multi-tenant table: - OWNER > Album X meta > Album Y meta - MEDIA (OWNER#SIGNATURE) > #META > LOCATION > MOVE LOCATION > MOVE LOCATION - MOVE TRANSACTION (...#uniqueID)
cmd
printer
Package printer display in standard output simple info/success/error messages
Package printer display in standard output simple info/success/error messages
screen
Package screen provides building blocks to represent progress bars.
Package screen provides building blocks to represent progress bars.
ui
Package config create AWS session and distribute it (alongside other config value) to any package interested.
Package config create AWS session and distribute it (alongside other config value) to any package interested.
Package daemon is WORK IN PROGRESS
Package daemon is WORK IN PROGRESS

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL