Sending SMB Client Commands Through Shell Script
Hello.
I have a shell script, which I am using to access the SMB Client: Code:
#!/bin/bash Can someone show me how to get the commands: Code:
recurse, prompt, mput baclupfiles and exit |
Do you want those commands run by smbclient? If so a "here document" should do it.
Code:
#!/bin/bash |
Thanks linosaurusroot! That solved my problem!
It's a nice neat solution too - I like it :) |
All times are GMT -5. The time now is 07:30 PM. |