LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   smbclient (https://www.linuxquestions.org/questions/linux-software-2/smbclient-446397/)

salmanucit 05-19-2006 08:14 AM

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

meetscott 05-19-2006 09:34 AM

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?


All times are GMT -5. The time now is 10:56 PM.