unicode filename and space

Started by wankio, February 22, 2023, 07:32:46 PM

Previous topic - Next topic

wankio

windows 10 - command prompt

exiftool -charset filename=utf8 -@ "童殺すセーター sweat_General_25451001_p14_TAGS=['sweater', 'fashion', 'girl', 'original', 'black hair'].png"
Error opening arg file ??????? sweat_General_25451001_p14_TAGS=['sweater', 'fashion', 'girl', 'original', 'black hair'].png

i can't figure out how to make this work with those type of filename


Thank!


StarGeek

The error shows one problem
Error opening arg file
The -@ (Argfile) option requires a text file with command arguments as the next parameter.  Instead, you're passing it a PNG file.

The may be more problems as Windows doesn't do well with unicode characters on the command line.  You can try the options in FAQ #18 if there are still problems once you get the arg file problem fixed.

On my computer, I couldn't get any of the FAQ options to work. Instead, I had to use this StackOverflow answer.  Unfortunately, it has the side effect of messing up the GUIs on some older programs.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

wankio

oh i see, so today i just tried with git-bash and it work
 


StarGeek

Quote from: wankio on February 23, 2023, 01:01:53 PMoh i see, so today i just tried with git-bash and it work

Ah, good to know.  I've been meaning to do some testing with git-bash, but haven't gotten around to it.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype