Cédric Leporcq
b4a8cc88cb
Add compare command
2021-07-31 22:08:26 +02:00
Cédric Leporcq
1de9e963aa
Add --max-deep option
2021-07-31 22:08:26 +02:00
Cédric Leporcq
562ac26345
Add --keep-folders option
2021-07-31 22:08:26 +02:00
Cédric Leporcq
eba6fc991b
Add --ignore-tags option
2021-07-31 22:08:21 +02:00
Cédric Leporcq
98f4947917
Add --filter-by-ext option
2021-07-31 22:06:54 +02:00
Cédric Leporcq
2e84888c59
Add day_begins config option
2021-07-31 22:06:54 +02:00
Cédric Leporcq
fc1f4343b0
Add sort command
2021-07-31 22:06:33 +02:00
Cédric Leporcq
de1dacc837
Various fix
2021-07-31 08:09:10 +02:00
Cédric Leporcq
3af848a162
Change get_all_files behaviour
2021-07-31 08:09:10 +02:00
Cédric Leporcq
cb8a4cd24e
Refactoring media class
2021-07-31 08:09:10 +02:00
Cédric Leporcq
6b2d2b31c3
Add dry-run action
2021-07-31 08:09:10 +02:00
Cédric Leporcq
04f2ac6738
Change hash_db and location_db storage location to target directory
2021-07-31 08:09:10 +02:00
Cédric Leporcq
21ed551a54
Discard python 2.7 compatibility
2021-07-31 08:09:10 +02:00
Cédric Leporcq
0363fd4302
Add %folder tag
2021-07-18 13:44:58 +02:00
Cédric Leporcq
f181c618b3
Metadata changes are made in dest files instead of source files
2021-07-18 13:44:58 +02:00
Cédric Leporcq
df0bf3c28e
Fix tests
2021-07-18 13:44:58 +02:00
Cédric Leporcq
8bc8b6c5c4
Drop textfile support
2021-07-18 13:44:57 +02:00
Cédric Leporcq
da764e94e6
Change date taken behaviour and use datetime format
2021-07-18 13:44:57 +02:00
Cédric Leporcq
42b1f4ecd4
load config as global variable
2021-06-18 06:51:30 +02:00
Arian Maleki
d8cee15f32
Optimize exiftool calls by adding an ExifTool singleton in pyexiftool library ( #352 )
...
This fix results in a 10x performance improvement [1] enabling a single exiftool subprocess to elimate spawing exiftool for each image.
Closes #350 #347
[1] https://github.com/jmathai/elodie/issues/350#issuecomment-573412006
2020-01-13 23:04:33 -08:00
Michael Wong
75e65901a9
Add --exclude-regex parameter to exclude directories on import #340 ( #342 )
...
The `--exclude-regex` parameter and `[Exclusions]` config section lets you pass in a regular expression to match against file source file paths and ignore.
2019-10-27 20:19:51 -07:00
Jaisen Mathai
12c17c9cac
Add a plugin to upload photos to Google Photos ( #319 )
...
Fixes #315 .
This PR aims to address the [recent changes](https://www.blog.google/products/photos/simplifying-google-photos-and-google-drive/ ) in Google Photos + Google Drive where syncing between the two is no longer supported.
It works by uploading photos as part of the import process to add a copy of every photo in your library to Google Photos. Google Drive is not required for this plugin to work.
This plugin lets you have all your photos in Google Photos without relying on Google Drive. You can use another cloud storage service like iCloud or Dropbox or no cloud storage at all.
- [x] Add tests for `after()` plugin methods.
- [x] Add support for storage/async support.
- [x] Include plugins into code coverage.
- [x] Sweep code and clean up and add comments.
2019-07-12 01:44:57 -07:00
Denis
283611a21e
Implement unicode-safe print function as part of the log module ( #298 )
2019-02-12 21:23:52 -08:00
Jaisen Mathai
91bf181575
Include path separator and absolute path when checking if destination is a child of the source. Fixes gh-287
2018-12-03 22:32:35 -08:00
Matt Carey
6bde29095c
Modify generate-db command help ( #268 )
2018-03-02 00:24:18 -08:00
Jaisen Mathai
bb2b0496f7
Add --debug option for command line to override value in constants.py. #153 ( #217 )
2017-05-11 23:43:16 -07:00
Jaisen Mathai
8082b739af
Fix bug where code makes assumption of 2 levels of folders in the update command. #206 ( #207 )
2017-04-01 16:26:29 +05:30
Jaisen Mathai
18b5c1336e
Add exit codes to all public commands #157 ( #184 )
...
* Add exit codes to update and import command
* Add tests for _import and _update exit codes
2017-01-21 20:52:32 -08:00
Jaisen Mathai
78880a6020
Add support for directories as argument to update command #178 ( #182 )
2017-01-07 21:49:00 -08:00
misterpipine
328aed6dfd
Fix test which checks for unicode characters in file path strings #162 ( #166 )
...
fix issue encountered when importing from a UTF-8 encoded filesystem with non-breaking spaces.
2016-12-26 08:20:12 -08:00
misterpipine
5dc31cf46f
Fix encoding issue with unicode characters in file and path #162
...
fix issue encountered when importing from a UTF-8 encoded filesystem with non-breaking spaces.
* skip test because failure case cannot be established
2016-12-22 01:53:08 -08:00
Jaisen Mathai
64773655d2
Convert FileSystem.get_all_files to be a generator function
2016-12-19 21:59:58 -08:00
Jaisen Mathai
7c3f323c44
Closes gh-159 Remove RESULT as global variable in elodie.py
2016-12-15 01:24:04 -08:00
Jaisen Mathai
9ad7358198
gh-156 Add verify command to check all files for bit rot
2016-12-13 22:27:12 -08:00
Jaisen Mathai
475fbeb6aa
Add result output for generate-db command
2016-12-13 22:26:36 -08:00
Jaisen Mathai
bf24f9689a
gh-154 Add command to regenerate the hash database
2016-12-13 00:08:08 -08:00
Jaisen Mathai
e555222e2f
Change variable name from file_path to current_file
2016-11-14 12:15:48 -08:00
Jaisen Mathai
33cc0e17ca
gh-145 Add stats output block at the end of an update or import command.
2016-11-10 20:59:40 -08:00
Jaisen Mathai
5d9155b673
Use logger in elodie.py
2016-11-09 20:37:57 -08:00
Jaisen Mathai
92c3818720
gh-145 Check if destination is in source and skip import
2016-11-07 23:39:18 -08:00
Jaisen Mathai
ea34ccbf6c
gh-139 Update logic to set file access/modify time
2016-10-21 20:16:25 -07:00
Jaisen Mathai
051961db70
gh-136 Skip geolocation lookup if no key is found
2016-10-08 10:02:16 -07:00
Jaisen Mathai
341173e381
gh-129 Add --allow-duplicates flag for command line program
2016-09-07 21:08:13 -07:00
zserg
af36de091e
Python 3 compartibility added
2016-08-21 17:58:13 +03:00
Jaisen Mathai
77266a7bd4
gh-108 Add tests for the import_file function in elodie.py
2016-04-20 22:37:12 -07:00
Jaisen Mathai
5a82de0da0
gh-100 Add support for text files and associated tests
2016-04-12 00:06:22 -07:00
Nathan Ostgard
c7a7f57b46
gh-79 Switched to click for argument parsing
2016-01-19 12:12:42 -08:00
Nathan Ostgard
4867d4d311
gh-69 Allow import to trash files
2016-01-09 16:57:38 -08:00
Nathan Ostgard
ea6a125fef
gh-60 Added --source and --file for backwards compatibility
2016-01-08 09:50:59 -08:00
Nathan Ostgard
198983156b
gh-60 Accept a list of inputs instead of source/file arguments
2016-01-08 09:50:59 -08:00