Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have ubuntu installed. When i click on network i can see my windows computer shared folder.

Is there any command to copy folder /home/testfolder

on /computername/sharedfolder

The computer is available on ubuntu network


When i tried installing smbfs it get this

The following packages have unmet dependencies:
  smbfs: Depends: samba-common (= 2:3.3.2-1ubuntu3) but 2:3.3.2-1ubuntu3.2 is to be installed
E: Broken packages
share|improve this question
You can try the --fix-broken option with apt-get –  Dennis Williamson Feb 9 '10 at 3:44
I tried but same error –  John Feb 9 '10 at 5:23

2 Answers 2

sudo smbmount //computername/sharedfolder /mnt/

cp /home/testfolder /mnt
share|improve this answer
THANKS FOR THAT , i got some error , i have edited the post –  John Feb 9 '10 at 3:02

Use scp command.

scp -r /home/testfolder root@computername or ip :/sharedfolder

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.