Commit b84234f 1 parent 2d9caf4 commit b84234f Copy full SHA for b84234f
File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,15 @@ export class BinaryExtractionTask extends ExifToolTask<Maybe<string>> {
38
38
...Utf8FilenameCharsetArgs ,
39
39
"-b" , // -binary
40
40
"-" + tagname ,
41
- // capital W allows destination files to not have a pattern:
41
+ // Capital W allows destination files to not have a pattern. See
42
+ // https://exiftool.org/exiftool_pod.html#W-FMT--tagOut
43
+ //
44
+ // Prior code used -w with %0f "to avoid shell expansion", but as this
45
+ // command gets sent directly to exiftool thanks to stay_open mode, we
46
+ // don't need to worry about shell expansion.
47
+ //
48
+ // I also tried `-out` instead of `-W`, and that didn't work at least on
49
+ // ExifTool 13.17.
42
50
forceWrite ? "-W!" : "-W" ,
43
51
path . resolve ( imgDest ) ,
44
52
path . resolve ( imgSrc ) ,
You can’t perform that action at this time.
0 commit comments