-
Awesome tool! Many Kudos @RhetTbull I'm moving from iPhoto into Photos with about 80k referenced files... Photos is not able to find/locate several referenced files while it does others. But I digress! Hope I can get out on the other side. ;) I'm testing out osxphotos to regularly update an export folder from Photos. One (maybe) issue and one question came up:
Again, excellent tool. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Glad you find osxphotos useful! --regex should work as used in your first example. It accepts any valid python regex expression. I'll take a look at the code to see why only the last pattern was matching. |
Beta Was this translation helpful? Give feedback.
-
@oPromessa I can confirm you found a bug. It's now fixed in v0.42.92 so you can now use multiple Regarding your question on which regex syntax can be used, any valid python regex should work. You can specify case-insensitivity using the |
Beta Was this translation helpful? Give feedback.
@oPromessa I can confirm you found a bug. It's now fixed in v0.42.92 so you can now use multiple
--regex
values and get the expected behavior.Regarding your question on which regex syntax can be used, any valid python regex should work. You can specify case-insensitivity using the
-i, --ignore-case
flag. The example you gave"2020-[01][09]"
may not do what you think it's doing. This says match2020-
followed by any character in the set{0,1}
then any character in the set{0,9}
so the following would match:2020-00
,2020-09
,2020-10
,2020-19
.