Hardware Canucks

Hardware Canucks (http://www.hardwarecanucks.com/forum/)
-   O/S's, Drivers & General Software (http://www.hardwarecanucks.com/forum/o-ss-drivers-general-software/)
-   -   Linux Guru Script help (http://www.hardwarecanucks.com/forum/o-ss-drivers-general-software/59245-linux-guru-script-help.html)

The Quicken January 20, 2013 04:03 PM

Linux Guru Script help
 
I need some help understanding the approach I need for this task, What I want to accomplish is this:

From Centos.6.3 run a script that will:

1) connect to windows share (mounted folder)
2) login with username and password
3) execute a script that will print the output of specific folders/drives on the windows PC to a desired location on my linux box.

I've found various variations of connecting Windows to Linux, but nothing like what I want as listed above.

Any help would be appreciated.

#!/bin/bash

echo "username"
echo "password"
??

Keywork January 21, 2013 07:43 AM

Some good ideas and info here -> https://bbs.archlinux.org/viewtopic.php?id=136199

The Quicken January 21, 2013 12:52 PM

Quote:

Originally Posted by Keywork (Post 685649)
Some good ideas and info here -> https://bbs.archlinux.org/viewtopic.php?id=136199

Thanks, this gives me a few ideas.

Right now I'm running 2 scripts, 1 on windows to print output of HDD to a folder I have mounted as a share, and #2 I run a script on my linux box to copy that folder to the dir to be updated/overwritten.

Works, but I really would prefer 1 script to rule them all...:doh:


All times are GMT -7. The time now is 09:56 PM.