aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-04 23:51:07 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-04 23:51:07 -0300
commit56bb32d68a95be22726113a68c4ce9ee2e251b19 (patch)
treedb93138573779dd90738fd5ca017efa964e847f0
parent0f35471b75f486c64a10fece36b30ad8ee29c030 (diff)
downloadhydra-56bb32d68a95be22726113a68c4ce9ee2e251b19.tar.gz
hydra-56bb32d68a95be22726113a68c4ce9ee2e251b19.tar.bz2
Fix: hydractl: sync_media_add_metadata: sidecard file handling
-rwxr-xr-xshare/hydractl/sync-media4
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