Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

EDIT:

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
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

 
discard

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