I want to copy from an Ubuntu directory to a Windows share. It's easy if I use the GUI, but I want to use a command in the terminal instead. I've tried this

cp -u -r /home/mirror-dlp/ /smb://computername/file.share/

But it doesn't work.

  • 3
    You can also use rsync. Please check this post. – d a i s y Jan 9 '17 at 5:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.