# Directories with spaces
I was dealing with an issue where I could not use rsync to put files in a folder that contained a space. I tried adjusting quotes and quotations and nothing.
I needed to add the `-s` (`--secluded-args`) flag which "sends all filenames and most options to the remote rsync via the protocol (not the remote shell command line) which avoids letting the remote shell modify them. Wildcards are expanded on the remote host by rsync instead of a shell."