Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync stops if source file/folder has a space at the end #267

Open
pilhuhn opened this issue Jun 4, 2023 · 0 comments
Open

Sync stops if source file/folder has a space at the end #267

pilhuhn opened this issue Jun 4, 2023 · 0 comments

Comments

@pilhuhn
Copy link

pilhuhn commented Jun 4, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant