diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-01-26 14:54:39 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-01-26 14:54:39 -0300 |
commit | 9f440e8797b26d0bd6498acc8058331f6391d9ed (patch) | |
tree | f2e7ead2fce057b3bf45dd45ee45d62a660041c4 | |
parent | 4adddce1227e3a332f8b30cc4e0cee7d0b82a808 (diff) | |
download | hydra-9f440e8797b26d0bd6498acc8058331f6391d9ed.tar.gz hydra-9f440e8797b26d0bd6498acc8058331f6391d9ed.tar.bz2 |
Fix: hydractl: sync-media: do not search for files in .git folders
-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 bf95678..c4e27d4 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 -exec git annex unlock {} \; - find -name '*.xmp' -exec git add {} \; + find -name '*.xmp' -type l ! -path '*.git' -exec git annex unlock {} \; + find -name '*.xmp' ! -path '*.git' -exec git add {} \; } # If there is a playlists folder, make sure mpd user can write to it |