[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



On 11/11/05, Ryan Fish <FishR at bellsouth.net> wrote:
>
>
>
> Hello all,
>
>
>
> I am in need of figuring out how to pass a "yes" followed by a carriage
> return via a bash script so a backup process can run successfully each day.
>
>
>
> The script does the following:
>
>
>
> 1) ssh to RaQ server as root
>
> 2) run cmuExport
>
> 3) copies contents of export to NAS device
>
>
>
> Since cmuExport has been run before a prompt stating the directory the file
> is written to already exists, do I want to overwrite is returned.  The only
> way to get past this point is to enter "y" then press ENTER at the prompt.
> This is what I am attempting to automate.
>
>
>
> Thank you for any help offered!
>
>
>
> -Ryan
> _______________________________________________
> Ale mailing list
> Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt;
&gt;


--
[stillwaxin at gmail.com ~]$ cat .signature
cat: .signature: No such file or directory
[stillwaxin at gmail.com ~]$


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00197" href="msg00197.html">[ale] Bash Scripting: How to pass &quot;yes&quot; + carriage return?</a></strong>
<ul><li><em>From:</em> christopher at bergeron.com (Christopher Bergeron)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00166" href="msg00166.html">[ale] Bash Scripting: How to pass &quot;yes&quot; + carriage return?</a></strong>
<ul><li><em>From:</em> FishR at bellsouth.net (Ryan Fish)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00167.html">[ale] Bash Scripting: How to pass &quot;yes&quot; + carriage return?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00169.html">[ale] Bash Scripting: How to pass &quot;yes&quot; + carriage return?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00167.html">[ale] Bash Scripting: How to pass &quot;yes&quot; + carriage return?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00197.html">[ale] Bash Scripting: How to pass &quot;yes&quot; + carriage return?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00168"><strong>Date</strong></a></li>
<li><a href="threads.html#00168"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>