Announcement

Collapse
No announcement yet.

Accessing windows/samba from a cli

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Accessing windows/samba from a cli

    I hope I'm not dragging up an old topic but...

    I'm writing a script which needs to cp a file from a windows computer so I need to know how to access a samba dir from the cli.
    cd smb://... doesn't work "No such file or directory".
    What am I doing wrong?

    #2
    Re: Accessing windows/samba from a cli

    Hi,

    I don't think you can move to a samba share like this, for me or you have to mount it as a folder :
    - mount -t smb //ip/folder /mount_point
    and then go through this
    - Or you have to use smbclient command

    Hope it helps

    Comment


      #3
      Re: Accessing windows/samba from a cli

      Thanks. I still need to work this out properly but for now I've found a work around using a symlink.


      EDIT hmm, maybe a symlink is a better solution anyway?

      Comment

      Working...
      X