update readme.md

This commit is contained in:
2024-01-26 22:28:23 +01:00
parent 561524cde5
commit eec14720b9

View File

@@ -3,11 +3,18 @@ Simple script to help a friend to set the image date to the file date for all th
#### Usage
- Get the binary from https://github.com/arnaucube/exif-dates/releases
- Execute the binary
```
> ./exif-dates
```
- Execute the binary `> ./exif-dates`
Alternatively can specify the input directory: `> ./exif-dates inputDir`
```
> ./exif-dates -h
version: v0.0.2_2024-01-26
Usage of ./exif-dates:
-input, -i string
input directory (default "./")
-output, -o string
output directory (default "output")
-version, -v
print current version
```
This will generate a new directory `output` which contains all the images with the image date as the file date (both file's access and modification times), and also with the image date as the filename.