diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-04 23:51:07 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-04 23:51:07 -0300 |
commit | 56bb32d68a95be22726113a68c4ce9ee2e251b19 (patch) | |
tree | db93138573779dd90738fd5ca017efa964e847f0 | |
parent | 0f35471b75f486c64a10fece36b30ad8ee29c030 (diff) | |
download | hydra-56bb32d68a95be22726113a68c4ce9ee2e251b19.tar.gz hydra-56bb32d68a95be22726113a68c4ce9ee2e251b19.tar.bz2 |
Fix: hydractl: sync_media_add_metadata: sidecard file handling
-rwxr-xr-x | share/hydractl/sync-media | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydractl/sync-media b/share/hydractl/sync-media index 554e09a..8132315 100755 --- a/share/hydractl/sync-media +++ b/share/hydractl/sync-media @@ -67,8 +67,8 @@ function sync_media_add_metadata { find -name metadata.pdf.lua.old -exec git add {} \; # Darktable sidecar files - find -name '*.xmp' -type l ! -path '*.git' -exec git annex unlock {} \; - find -name '*.xmp' ! -path '*.git' -exec git add {} \; + find -name '*.xmp' -type l -not -path '*.git*' -exec git annex unlock {} \; + find -name '*.xmp' -not -path '*.git*' -exec git add {} \; } # If there is a playlists folder, make sure mpd user can write to it |