Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2005
    Posts
    23

    Unanswered: smbclient - trasnfer full content of a share

    Hello all!

    I am using smbclient to access a windows share. I am trying to automate a script that will copy all the files in a folder.

    When connecting manually, I have to accept with "y" for each file for "mget *". Is there a way to avoid this in a script?? So it will copy all the files in the share in my local directory??


    Thanks in advance,
    Chris

  2. #2
    Join Date
    Jan 2006
    Posts
    32
    Have you tried
    yes | smbclient



    .

  3. #3
    Join Date
    Aug 2005
    Posts
    23
    Thanks a lot. That was a good solution.


    Chris.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •