diff options
-rwxr-xr-x | share/hydractl/sync-media | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/sync-media b/share/hydractl/sync-media index bff3987..4f40a67 100755 --- a/share/hydractl/sync-media +++ b/share/hydractl/sync-media @@ -41,7 +41,7 @@ function sync_media_add { fi # Adding hidden files and symlinks, git+while version - git status --porcelain -u | sed -e 's/?? //' | while read file; do + git status --porcelain -u | grep '^?? ' | sed -e 's/?? //' | while read file; do if [ -h "$file" ]; then git add "$file" else |