Worth a try. Otherwise, escaping like jrjuiliano suggested will work.
If you are unsure of the escaping, try using tab for autocomplete. Most shells do that. To use that, type the first few letters of the folder with the space and press the tab key:
cp -R /usr/folder/fi<TAB> ...
It should autocomplete for you with escaping if the shell supports it.
I would take jrjuiliano's advice and escape the spaces -- escape mean putting a backslash in front of the space. You can also escape other characters that have the same sort of problems.
If you're using one of the more common shells, you can save time by useing the TAB key like danomac suggests. Or pressing it twice if there's more than one folder that starts with 'first'.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.