Go Back   Hardware Canucks > SOFTWARE > O/S's, Drivers & General Software

    
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old January 20, 2013, 05:03 PM
The Quicken's Avatar
MVP
 
Join Date: Jan 2011
Location: BC CANADA
Posts: 278

My System Specs

Default 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"
??
Reply With Quote
  #2 (permalink)  
Old January 21, 2013, 08:43 AM
Keywork's Avatar
Allstar
 
Join Date: Jun 2009
Location: Niagara
Posts: 604

My System Specs

Default

Some good ideas and info here -> https://bbs.archlinux.org/viewtopic.php?id=136199
__________________
Friends don't let friends use onboard video.
Reply With Quote
  #3 (permalink)  
Old January 21, 2013, 01:52 PM
The Quicken's Avatar
MVP
 
Join Date: Jan 2011
Location: BC CANADA
Posts: 278

My System Specs

Default

Quote:
Originally Posted by Keywork View Post
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...
Reply With Quote
Reply


Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need some electricity guru BlueByte Power Supplies 11 September 13, 2012 12:12 AM
login script bissa Off Topic 1 October 28, 2010 06:57 PM
Go to Guru? Slik Audio 8 September 5, 2010 01:11 PM
Any property guru's? Dr_BenD_over Off Topic 20 August 9, 2010 02:39 PM
problem: OB script extender CTA Gaming 0 June 6, 2010 11:17 PM