title: Shell script inside smbclient?
body: <p>I have problem with executing shell (bash) script inside smbclient. </p>
  
  <p>It looks like this:</p>
  
  <pre><code>rafal@amilo:~/Desktop$ 
  rafal@amilo:~/Desktop$ #script.sh is here
  rafal@amilo:~/Desktop$ 
  rafal@amilo: smbclient //host/user -U user%password
  smb: \&gt;
  smb: \&gt; #do some automatic things here: execute script.sh from rafal@amilo
  smb: \&gt;
  smb: \&gt;exit
  rafal@amilo:~/Desktop$ #now i have new files in Desktop
  </code></pre>
  
  <p>How can I get this to work?</p>