Leave the editor's own *.export*.mp4 artifacts out of the real-library manifest
Browse files at this commitf9940e1ef5d0d78cfbf20bf897c8c9a7f72ca09fParent: fb8eddb- fix
- leave the editor's own *.export*.mp4 artifacts out of the real-library manifest
1 changed file +1 -1
scripts/scan-real-library.shmodified+1 -1
| @@ -81,7 +81,7 @@ nerr=0 | ||
| 81 | 81 | "${vpix:--}" "${vbits:--}" "${acodecs:--}" "${duration:--}" \ |
| 82 | 82 | "$(stat -c %s -- "$f")" |
| 83 | 83 | n=$((n + 1)) |
| 84 | - done < <(find "${DIRS[@]}" -type f \( "${find_args[@]}" \) -print0 2>/dev/null) | |
| 84 | + done < <(find "${DIRS[@]}" -type f \( "${find_args[@]}" \) ! -name "*.export*.mp4" -print0 2>/dev/null) | |
| 85 | 85 | } >"$tmp" |
| 86 | 86 | |
| 87 | 87 | mv -- "$tmp" "$OUT" |