LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 05-19-2006, 08:14 AM   #1
salmanucit
Member
 
Registered: Jul 2004
Posts: 54

Rep: Reputation: 15
smbclient


hi
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
regards
 
Old 05-19-2006, 09:34 AM   #2
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 407

Rep: Reputation: 42
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?
 
  


Reply


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 12:49 PM
smbclient help m0nk3yb0y Linux - Networking 5 03-15-2005 12:12 AM
How to use SMBclient? cathodion Linux - Networking 4 12-22-2004 03:48 AM
smbclient subaruwrx Linux - Networking 7 09-02-2004 08:43 AM
smbclient problem brijesh Linux - Security 1 09-23-2003 01:44 PM


All times are GMT -5. The time now is 09:22 AM.

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