Description
I'm trying to move some files and delete some other files in sharepoint online site collection using cli. Where ever the filename contains # character I get an error that file does not exist.
It works fine for filenames that don't have # in them.
Steps to reproduce
- Upload a file with # in its name for e.g "test # document.docx"
- check for the file using
spo file get [options]
o365 spo file get --webUrl https://mycompany.sharepoint.com/sites/site1 \
--url "/sites/site1/Documents/WIP Docs/test # document.docx"
Expected result
Should get meta data of the file.
Actual result
Error: The file /sites/site1/Documents/WIP Docs/test # document.docx does not exist.
Environment
OS: macOS Mojave Ver 10.14
o365 version: 2.6.0
shell: zsh 5.4.1 (x86_64-apple-darwin16.7.0)
Description
I'm trying to move some files and delete some other files in sharepoint online site collection using cli. Where ever the filename contains # character I get an error that file does not exist.
It works fine for filenames that don't have # in them.
Steps to reproduce
spo file get [options]Expected result
Should get meta data of the file.
Actual result
Error: The file /sites/site1/Documents/WIP Docs/test # document.docx does not exist.
Environment
OS: macOS Mojave Ver 10.14
o365 version: 2.6.0
shell: zsh 5.4.1 (x86_64-apple-darwin16.7.0)