I am getting this error:
Caught non-retryable exception while listing file:///home/backups/html/:
CommandException: Invalid Unicode path encountered
(u'/home/backups/499322._425050_.can._R\xe9
sum\xe9 - Jeremy Smith.pdf'). gsutil cannot proceed with such files
present. Please remove or rename this file and try again. NOTE: the
path printed above replaces the problematic characters with a hex-
encoded printable representation. For more details (including how to
convert to a gsutil-compatible encoding) see `gsutil help encoding`.
The filename is;
499322._425050_.can._Résumé - Jeremy Smith.pdf
# convmv -r -f ISO-8859-1 -t UTF-8 499322._425050_.can._Résumé\ -\
Jeremy\ Smith.pdf
Skipping, already UTF-8: 499322._425050_.can._Résumé - Jeremy Smith.pdf
I am confused here - the convmv says its UTF-8 already but gsutil throws
the error. Using the convmv --nosmart flag screws up the file name.
Can anyone shed light on this? I have about 1 mil files and I don't want
to rename them one by one each time I get an error.
Thanks
Piers
_______________________________________________
luv-main mailing list
[email protected]
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main