minioclient icon indicating copy to clipboard operation
minioclient copied to clipboard

How to escape filenames with special characters

Open dbuijs opened this issue 9 months ago • 1 comments

The command line mc utility will accept minio filenames with special characters in them as long as the whole path is contained within single quotes '

The R command mc_ls() will return filenames with spaces and special characters in them, but using these strings in mc_cat() returns an error.

As an example minio/test/12345 (1).pdf

Is there a syntax for escaping these special characters? Ideally anything that is returned by mc_ls() should be usable in mc_cat()

dbuijs avatar Oct 30 '23 20:10 dbuijs