https://github.com/alancesar/tidy-photo
Automated script to arrange music libraries
https://github.com/alancesar/tidy-photo
gallery jpeg jpg library organizer photo raw tidy
Last synced: over 1 year ago
JSON representation
Automated script to arrange music libraries
- Host: GitHub
- URL: https://github.com/alancesar/tidy-photo
- Owner: alancesar
- Created: 2020-10-29T22:42:14.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-16T01:40:08.000Z (over 5 years ago)
- Last Synced: 2025-01-30T23:32:29.057Z (over 1 year ago)
- Topics: gallery, jpeg, jpg, library, organizer, photo, raw, tidy
- Language: Go
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tidy-photo
Organize your photo library according its taken date.
## Building
```sh
go build
```
## Usage
```sh
./tidy-photo [-s] [-o] [-t] [-p]
```
### Parameters
- **s**: The source path. Its default value is `./`.
- **o**: The output path. Its default value also is `./`.
- **t**: Test mode. If true only show the expected output. Its default is `false`.
- **p**: The output directory structure pattern. It follows the
Golang's [time/Time.Format](https://golang.org/pkg/time/#Time.Format) guide.
## Output
The default `p` value is `YYYY/YYYY-MM-DD` so the generated output will be this following structure:
```
YYYY
└── YYYY-MM-DD
└── Filename.ext
```
Example:
```
2020
├── 2020-10-28
│ ├── DSC00001.ARW
│ └── DSC00002.ARW
└── 2020-10-29
└── IMG_0001.CR3
```