How do you use smbclient? (mput problems in particular)

So I've had problems with all the gui samba clients, they usually can't find shares at all for some reason. The fuse ones seem to work, but sometimes they just disconnect and sometimes mount nothing. Mount cifs works, but without unicode support. Mounting in general is a pain since you need root and an empty directory and all that.
Smbclient is the thing that seems to work the best, and I like the idea. But I have problems with it, I probably just don't know how to use it right.
By typing "tarmode", "recurse" and "prompt" I can use mget to recursivly download directories from the samba server. However mput never seems to work.
If I typed "mask", "recurse" and "prompt", it seemed to work, however I noticed there is a slight filesize difference between the client and server. On the client there were more files, so I guess some files didn't get to the other side, and maybe even a file got cutoff in the middle.
The funny thing is, mput just stopped working. Even in that same smbclient session I couldn't mput another directory after that one, and if I restart smbclient and type "mask", "recurse", and "prompt" again nothing happens when I try to send another directory with mput.
What is the correct way to recursively copy a directory to the samba server? (like cp -r)
(Also if the way I use mget is wrong please correct me. It hasn't failed me yet, so I don't think so, but just to be safe.)
I tried reading the man pages, but they are pretty cryptic.

Hi,
This is probably too late to be useful but I found this in a google search when having the same problem and thought I'd post the way I could ultimately accomplish this:
See http://www.techsneeze.com/smbclient-to- … ows-server
/usr/local/bin/smbclient //servername/share -A /home/username/.smbclient -c "cd backup; lcd /home/username/files; prompt; recurse; mput *; exit;"
I found that mput does not actually recurse if you specify a directory name.  You need to lcd into the root of the directory you want to copy from and do mput *

Similar Messages

  • How do you use forward and back button on mouse and use "zoom" in web browser.

    Ok so apparently this forum is ruled with an iron fist or something my very honest and truthful problems with these issues seem to have been instantly deleted in my last discussion?
    I'll try this once more.
    1) How do you use the forward and back button on a mouse without having to buy a product like Steer Mouse? There must be a way to do this without having to buy a program given it's such a useful feature that 99% of users need. I don't want to spend hours researching something that should already work. Any advice?
    2) How do you zoom in for web browsers like Chrome without it globally zooming in everything on the monitor (even background applications). I don't want to zoom in background applications. I want to be able to zoom in the web browser and still maintain all the features like the side bar, not just a little magnifying glass type thing.
    I'm currently zooming in with the CTRL-Middle Mouse button, but I can't find a way to use this feature so it's useful to browse the web it seems to not scale the browser correctly but rather is a global zoom. Any solution for this?

    Thanks so much!
    Like I said I am new to Apple products so it's still unclear to me which programs I do or don't need as I'm setting up and configuring all my software and devices.
    The Logitech Control Center appears to work perfectly for what I was trying to do!
    I accidently clicked "This helped me" instead of "This Solved My Question", sorry about that this was a solve!

  • How do you use the Multiple Item Information dialog box ???

    How do you use the Multiple Item Information dialog box ???
    Where are the instructions on how the information in the Multiple Item Information dialog box equates to ...
    1. The way iTunes sorts tracks and albums
    2. The reason to select a leading check box
    3. Why there are Option selections (Yes /No) and leading check boxes.
    4. Why some changes remain in the track info, but do not "take effect" in iTunes (Part of a compilation is an example)
    Looked in Help, Support, went to the local Genius bar for an hour, even arrainged a call from apple support ...
    Thanks

    As Christopher says, it's a compilation. Different tracks are by different artists.
    Setting the *Album Artist* field to *Various Artists* and setting *Part of a compilation* to Yes should be all that is required. Depending on your *Group compilations when browsing* setting ( I recommend On ) either should suffice but I suggest doing both.
    Based on your commentary, I selected all the "O Brother" tracks, and checked the boxes for everything line that was blank in the Info and the Sort panes. Only exceptions were the album name and the disc number 1 of 1 and the artwork. I blanked and checked anything else.
    That's not what I meant. When you select multiple tracks, only those values which +are already common+ to all tracks are displayed. Typically these will include Artist, though not with compilation albums, Album Artist, Album, No. of Tracks, Genre plus various sort fields. A blank value may indicate that different tracks have different values or it may be that the value is blank for all tracks. For the drop down values on the Options tab the value shown may not reflect the information in every tag. If values you expect to be common, such as Album Artist or the Album title are not displayed you can simply type these in and click OK. This will often be enough to group the album.
    If you place a checkmark against the blank boxes and apply changes then you will clear those fields so you should only do this if that is the effect you want. Putting a checkmark next to an empty (representing different values) *Track No.* box, for example, will just clear the all the track numbers which is very rarely useful.
    Adding then removing extra text is for a specific problem where despite all common values being identical across the tracks of the album iTunes seems to "remember" that it should see two albums. A typical example would be when an album originally listed as *Album CD1* & *Album CD2* is given disc numbers X of Y and then has the Album name changed to Album. I've seen iTunes merge all but one track into the new album, but insist on listing one remaining track separately, despite both albums having the same title. In this case I've found overtyping the album title again has no effect whereas changing it to AlbumX and then back to Album does what I was trying to achieve in the first place.
    Don't forget that even properly organsied albums may still break up if you don't chose an album-friendly view. Sorting on the track name or track number columns can be useful in some circumstances but in general I revert to Album by Artist when browsing through my library.
    tt2

  • How do you use AdobeExportPDF??

    I'm not sure what you have changed with ExportPDF, but have used it in the past and there was always sign in page that popped up after you paid the annual fee. Now it keeps trying to sell me the subscription again. How do you use Export now? You have already charged my bank for the fee and I can go to my account when I sign in and see that I'm supposed to have an active subscription, but there is no place to select the option of exporting a PDF to convert to word. I have called Adobe customer care and guess what, no support available there nor help getting to the right people to help. I see from the discussions on this page that it seems to be a common problem.
    So, how do I use Adobe ExportPDF?
    Is this a scam?
    Why did you make it so difficult to use now?

    Im having the same issue!!! Help

  • How do you use Airport extreme at hotels etc, when traveling? I can plug my computer into the Airport with my ethernet but how does Airport pickup signal?

    How do you use Airport extreme at hotels etc, when traveling? I can plug my computer into the Airport with my ethernet but how does Airport pickup signal? What equipment & devices do I need to travel with to make this possible?

    You may mean the AirPort Express.....not AirPort Extreme.....as the Express is a popular travel router.
    The whole idea behind using this device is that the hotel must provide an Ethernet jack in the hotel room. Then you connect the AirPort Express to the Ethernet jack with an Ethernet cable and configure it to provide your own wireless network in the room. You still have to agree to terms, pay the fees, etc.
    The problem with this approach is that it is getting very difficult to find hotels in North America that prrovide an Ethernet jack....most have moved to wireless networks and the others are not far behind.
    So, if the hotel is already providing a wireless signal, the AirPort Express is of no use in that situation.
    If you normally stay at the same hotels, and know that they provide Ethernet ports, an AirPort Express might make sense in terms of convenience.

  • How do you use inspirion 13 7000 stylus with adobe photoshop cc

    how do you use inspirion 13 7000 stylus with adobe photoshop cc? Doe anyone know how to use the stylus on this dell 2 in 1? I was told by dell that you could use the stylus to edit in photoshop but its not working-

    You are asking a huge question. You'll get a better response if you ask something specific about a problem you are having with layers.
    I'm not trying to be mean but you can find vast amounts of basic info on layers with a simple Google query. If you click the Video link after inputting a search query, you can even find video tutorials.  YouTube  is one place that has quite a few video tutorials.
    How layers work hasn't changed between Elements versions.  Layers work the same in Photoshop. The application interfaces may be slightly different but layers are layers.
    FWIW, I'm not a big fan of the manual. You're better on getting something like "The Missing Manual" by Barbara Brundage or looking for info on the Internet.  One free resource with tons of info can be found here:
    http://www.garymgordon.com/misc/tutorials/photoshop_tutorial/elements/psE_intro.htm
    The tutorials found at the above link use an older version of Elements so you won't find info on the newest tools and features but the basic Editor info on layers and the tools still apply.

  • How do you use imessages on "Mountain Lion"

    How do you use i-messages on Mountain Lion, Several analysis of the new operating system seem to say you can do that but  I tried to send a message to my Ipod, Iphone and I-Pad from the new operating system " Mountain Lion"  But I guess I got things set up wrong it did not work.  I got no messages from the I-Mac.
    Since I am a new I-Mac used ( Have a ipod, ipad & Iphone) would like to be able to send Imessages from my I-Mac and can't figure out how to do that. I keeps wanting to send AIM messages and when I go to change it to I Cloud mesages I don't see I-Cloud on the list???

    Joe thanks for the reply but I am still confused here is the problem:
    I opened The accounts window and went to my ME.com account but it wants me to set up an AIM account , what is that all about . I was sure I was sending the messages thru the apple server .
    Second I am a PC person and this is my wifes I-Mac,  so I am new to MACS but I have used PC's for 35 years. 
    She wants to be able to send me I-Messages for her MAC that is why I am trying to set this up for her.   She is NOT a Techie and so she depends on me.  I am very confused by the MAC as I have buily trouble shoot and fixed PS (not as a profession but as a hobby) I am trying to get used to the MAC so I can help my wife. As I have an IPOD and an 4S I-Phone. Now you know the whole story.  Sorry to bore you with the details but I was sure it would help you give me a better Idea of where to go to correct the AIM situation.
    OK when I go to the ME.com account there is no where where I see Caller ID???
    What I see is My wifes e-mail a Bonjour ( imactive) account, &  Yahoo account.  I may be in the wrong place
    Toi be frank I don't see an Imessages account.  Under mail accounts I see My wifes 5 e-mail accounts and one of them is a .ME account ( I assume that is the icloud account) but where it says account type it says AIM how do I change it to an I Cloun account?
    OK the next question when you say click on the DOCK I go to system preferences and click on DOC and I get some screen that shows SIZE, Magnification Position on screen and so on.
    When I go to the Finder and click on Applications I get a window that says messages but there is nothing on that window that I can adjust?
    Help Where is i messages

  • How do you use Default Resource Access Information?

    I have some 10g Forms & Reports that I want to use with SSO and they will all be connecting to the database with the same connection info. I know how to configure a Default Resource Access Information, but how do you use this with Forms & Reports?

    Douglas,
    the default Resource Access Infomation should be the connection information right? This is used in conjunction with SSO. You need to configure your F&R applications to delegate authentication to SSO by placing ssoMode=true in the config section of formsweb.cfg.
    The Forms Servlet will connect to OID retrieve the Resource Access Information (descriptor) for a given user and automatically log them into the application.
    Users will need a global identity in OID and SSO must be enabled to use resource access info with F&R
    regards,
    tt

  • How do you use emojis in the iPhone 5s

    How do you use emojis in the iPhone 5s

    Tap on Settings, General, Keyboard, Then Keyboards, Add New keyboard, and choose emoji.
    The next time you are in text messaging or email, and the keyboard pops up, select the globe to get to the emoji symbols.

  • How do you use new ipod nano with itunes 10.6.3?

    How do you use new ipod nano with Itunes 10.6.3.  I have MBP and it lists itunes 10.6.3 as most current version and won't let me install itunes 11

    The seventh generation iPod nano requires at least iTunes 10.7 and Mac OS X 10.6.
    (85225)

  • How do you use ReadyHosting's myLittleTools?

    A client I do some work for occasionally, has normally wanted me to add links to various partner websites. These have all been pretty small over the years I’ve done this work for him, like make 5 at most. Well now he’s hit me
    with about 2 dozen partners that he wants a link to. When it gets to this point I think of databases.
    I created a MS SQL Server database on Ready Hosting’s server, associated with my client’s account. (Got his permission before doing so.) Then I created a user for that, so that I could get into it. Ready Hosting uses something
    called “myLIttleTools” for managing and administering one’s SQL Server databases on their servers. So I tried going into it, entering the credentials that I created. But it refuses to allow me to log in. I get the following error message:
    “Error -2147217843
    Login failed for user ‘MyID'.
    Provider=sqloledb;Data Source=ReadyHostingServer;Initial Catalog=ClientDB;User Id=MyID;Password=MyPassword;Connect Timeout=120;”
    (Clearly I’ve changed the credentials here; they’re not what I’ve created.)
    Two days ago I opened a help ticket with them. Still haven’t heard from them.
    So I’m asking here, does anyone have any experience with SQL Server database management on ReadyHosting? How am I supposed to log in when it refuses to accept the credentials for the user I created on it? They want you to use
    this “myLittleTools” thing, but WOW how do you use that when you’re prevented from even getting into the door?
    Rod

    Readyhosting is still around? They were a really good host back at the turn of the century then were bought by a company that proceeded to hire incompetents and became totally unreliable. I'd have thought they folded a decade ago.
    As others said, this is an issue to be resolved through Readyhosting's support personnel. EW is not really deigned for managing database servers. If their connection permits it you can use the MS SQL tools to manage remotely (doubt they allow it though)
    and most people use MS Web Developer Express for their database work on small websites not EW.
    Free Expression Web Tutorials
    For an Expression Web forum without the posting issues try
    expressionwebforum.com

  • How do you use multiple outputs on a VSTi like Kontakt or Battery?

    how do you use multiple outputs on a VSTi like Kontakt or Battery with Logic Pro 7.1? I've heard someting about using AUX busses, but can anyone please provide an actual clear, step by step basic guide?
    I've had Logic 3 months now and just don't know how to do this yet, and have yet to actually find it in the manual!!
    thx

    http://www.sonikmatter.com/wiki/index.php/Tutorial:MultiChanAudioSetup

  • How can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    how can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    No you do not need separate Apple ID's in order to use 3 devices with one Apple ID. I use 4 devices to Message and FaceTime and all use the same Apple ID. You do need to add additional email addresses for the other devices.
    Look at this very informative video for the instructions.
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • How can you use the same e-mail address for multiple ipads?

    I have two iPads.. an iPad and an ipad 2.  I registared my new ipad 2 and now my old ipad is will not let me log on and is telling me that my e-mail address is already in use.  how can you use the same e-mail address for multiple ipads?

    And by using the same Apple ID you can also share purchases.  If you have a different Apple ID for each iPhone then you can't share purchases.

  • How do you use wirelless keyboard with emoji?

    Just downloaded emoji on ipad. Have a wireless keypad! how do you use it?

    I see this:
    Connecting a Music Keyboard to Your Computer
    If you play a keyboard instrument, you can connect a MIDI-compatible music keyboard
    to your computer to play and record Software Instruments.
    To connect a music keyboard to play Software Instruments:
    If the keyboard is a USB MIDI keyboard, connect the USB cable to the keyboard and
    to your computer.
    If the keyboard is a standard MIDI keyboard, connect the keyboard to a MIDI
    interface using standard MIDI cables, and connect the interface to your computer.
    Be sure to follow the instructions that came with the keyboard, which may include
    installing the correct driver on your computer.
    This doesn't tell me what I need to do though. I'm sorry if I sound like a moron, but I can't figure this out haha. I've got everything plugged in and turned on. What is the next step...and the step after that....to make it so that when I play my keyboard, it shows up on Garageband and I'm able to record...

Maybe you are looking for

  • Table name and count of rows in that table through out the database

    Hi All, how to find the table_name and the number of rows in that table for all in a database. Bhargava S Akula.

  • DATESYTD (or any Time Intelligent Function) Working Off Other Data Besides Date in the Pivot Table

    I am working on a project where I need to count the number of events from the start of the year to the end for each year in the data with each event counting the current event and any previous events sequentially.  My results should look like the fol

  • View package body in another schema

    I have developers who want to view the code in the package body in another's schema. I know select text from all_source/ user_source works only for packages in your own schema. Granting system privelege 'create any procedure' allows the developer to

  • Iterate Map on JSPX

    I appreciate if someone can help me to iterate Map on jspx via ADF components. package view.mb; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import oracle.adf.model.BindingContext; import oracle.a

  • Stuck on 'No Service' today

    For some reason my Orange 3Gs is not receiving any signal from my carrier today. Normally, it's OK. If I go to Settings-Carriers, I can see Vodafone and T-Mobile, but no Orange. Any ideas?