diff options
-rwxr-xr-x | share/hydractl/sync-media | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/share/hydractl/sync-media b/share/hydractl/sync-media index 4f9ea7d..69c4ed3 100755 --- a/share/hydractl/sync-media +++ b/share/hydractl/sync-media @@ -53,13 +53,13 @@ function sync_media_add { # Add meta files, making sure they're handled directly by Git function sync_media_add_metadata { # Koreader metadata files - find -name metadata.pdf.lua -exec git annex unlock {} \; - find -name metadata.pdf.lua -exec git add {} \; - find -name metadata.pdf.lua.old -exec git annex unlock {} \; - find -name metadata.pdf.lua.old -exec git add {} \; + find -name metadata.pdf.lua -type l -exec git annex unlock {} \; + find -name metadata.pdf.lua -exec git add {} \; + find -name metadata.pdf.lua.old -type l -exec git annex unlock {} \; + find -name metadata.pdf.lua.old -exec git add {} \; # Darktable sidecar files - find -name '*.xmp' -exec git annex unlock {} \; + find -name '*.xmp' -type l -exec git annex unlock {} \; find -name '*.xmp' -exec git add {} \; } |