Linux: connect to Windows share via terminal

Associate
Joined
19 Jun 2003
Posts
1,680
Location
West Yorks, UK
Hi all,
I am trying to use a Ubuntu Live CD to copy data from an old PC's hard drive onto a shared Windows folder on my network. I can connect to the share using Nautilus fine, and can drag and drop the files onto it from the old PC. However, the transfers keep timing out or getting interrupted. I want the flexibility offered by the cp command in the terminal.

Sooooo, how can I connect to a Windows Shared folder (XP Pro machine) via the terminal to copy files across?

Cheers,
Matt
 
matja, thanks - that looks great. I can't try it just yet, but will tomorrow morning. Is mount.cifs a typo? I thought it could only be done as mount -t cifs.

Matt
 
Hum, odd. The Ubuntu 6.06 Live CD does not have mount.cifs installed - I can't mount shares using the -t cifs method either.

Are there any alternatives ways to rsync data across from the hard drive to the Windows share? I had a look at smbclient, but couldn't quite work out how to transfer files.

Alternatively, how can I get hold of mount.cifs for the Live CD? Or, do you know of any Linux Live CD's that can mount hfsplus filesystems, and cifs?

Cheers,
Matt
 
Back
Top Bottom