Sync stops if source file/folder has a space at the end
Opened this issue · 0 comments
pilhuhn commented
I have created some folders for my images and by accident one of the folders has a space char at the end.
sync stops with an exception that it can't sync the file (don't recall the exact exception right now). Basically it says
cp folder_with_space /pic.jpg smb://...target/
Which makes sense as the cp command now has 3 parameters and the /pic.jpg would be seen as target and not part of the source
Suggestion is to wrap the source name in " so that it would read
cp "folder_with_space /pic.jpg" smb://...target/
and also on top (option?) replace the space on the target path by some char like an underscore