iphone_organizer

Crates.ioiphone_organizer
lib.rsiphone_organizer
version1.3.0
sourcesrc
created_at2022-11-10 20:36:23.718742
updated_at2023-01-04 22:18:27.358704
descriptionA tool to quickly organize photos imported from an iPhone.
homepagehttps://github.com/nico-castell/photo_organizer
repositoryhttps://github.com/nico-castell/photo_organizer
max_upload_size
id712408
size26,178
Nicolás Castellán (nico-castell)

documentation

https://docs.rs/iphone_organizer/latest/

README

CLI Photo organizer

Commits since last release Crates version License Tests

This program can take all of the files in the DCIM folder of an iPhone and organize them following a directory structure like what follows:

/home/user/PhoneImport
├── 2021
│   ├── 11
│   │   ├── IMG_8000.jpg
│   │   └── IMG_8001.jpg
│   └── 12
│       ├── IMG_8002.jpg
│       └── IMG_8002.aae
└── 2022
    └── 01
        ├── IMG_8003.jpg
        └── IMG_8004.jpg

Installation

To install this application, you will need to have cargo from the Rust language. If you don't have it, you can refer to the installation instructions here.

Then you simply run the following command in your terminal:

$ cargo install iphone_organizer

Usage

The recommended first step is to copy the DCIM folder from your phone to your home directory.

You can use this program by opening a terminal, and typing the name of the command, the DCIM folder in your home directory, and a destination folder, such as ~/PhoneImport. Like this:

$ iphone_organizer ~/DCIM ~/PhoneImport

If you have edited any photos in your phone, the app will print the name of the corresponding .aae files.

$ iphone_organizer ~/DCIM ~/PhoneImport
/home/user/PhoneImport/2021/12/IMG_8002.aae

There are a couple of flags available for the command, you can see them all by running the following command:

$ iphone_organizer --help
Usage:
      iphone_organizer SOURCE DESTINATION [OPTIONS]

Options:
   -s | --skip     ) Skips all files that are already present at DESTINATION.
                     This is the default.

   -o | --override ) Replaces files already present at DESTINATION with the
                     version from SOURCE.

   -l | --lean     ) Remove files present at DESTINATION but not SOURCE.

   -h | --help     ) Prints this help information.

Version: 1.3.0, MIT License

About

This program and this repository are available under an MIT License.

Commit count: 104

cargo fmt