Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-19-2006, 09:14 AM   #1
Registered: Jul 2004
Posts: 56

Rep: Reputation: 15

i used smbclient //my_pc/shared -U administrator
and i was connect to my windows machine and now i want to put a folder from my current linux directory to my shared folder "shared" on my windows machine "my_pc"
i use "mput" command but it doesnt work for folders . how could i copy whole folder and all folders inside this folder without facing any prompt for y/n
Old 05-19-2006, 10:34 AM   #2
Samhain Slackbuild Maintainer
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 43
Type "recurse" at the smbclient prompt. This toggles directory recursion on or off depending on the current state. The only thing you need to watch out for is the "mask". The default is blank equivalent to *. To suppress prompting, type "prompt" and this will toggle prompting on and off.

I'm not telling you what to do... but wouldn't you rather mount the share using an fstab entry?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
no smbclient wildbob Fedora 2 04-24-2005 01:49 PM
smbclient help m0nk3yb0y Linux - Networking 5 03-15-2005 01:12 AM
How to use SMBclient? cathodion Linux - Networking 4 12-22-2004 04:48 AM
smbclient subaruwrx Linux - Networking 7 09-02-2004 09:43 AM
smbclient problem brijesh Linux - Security 1 09-23-2003 02:44 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration