vid-com 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/arw_to_jpg.sh +1 -1
package/package.json
CHANGED
package/scripts/arw_to_jpg.sh
CHANGED
|
@@ -50,7 +50,7 @@ export -f do_convert
|
|
|
50
50
|
# -0: 处理带空格的文件名
|
|
51
51
|
# -P: 并发数
|
|
52
52
|
# -I: 占位符
|
|
53
|
-
find "$SOURCE_DIR" -type f -iname "*.arw" -print0 | xargs -0 -I {} -P "$THREADS" bash -c "do_convert '{}' '$OUTPUT_DIR'"
|
|
53
|
+
find "$SOURCE_DIR" -type f \( -iname "*.arw" -o -iname "*.dng" \) -print0 | xargs -0 -I {} -P "$THREADS" bash -c "do_convert '{}' '$OUTPUT_DIR'"
|
|
54
54
|
|
|
55
55
|
echo "------------------------------------------"
|
|
56
56
|
echo "转换完成!所有文件已输出到: $OUTPUT_DIR"
|