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

[no subject]



I don't think you want the 'l' option of 'ls' as it will give you a long 
listing...

> 
> # -----Original Message-----
&gt; # From: ale-bounces at ale.org [<a  rel="nofollow" href="mailto:ale-bounces";>mailto:ale-bounces</a> at ale.org]
&gt; # Sent: Friday, March 18, 2005 12:23 AM
&gt; # To: ale at ale.org
&gt; # Subject: [ale] backup script part II
&gt; # 
&gt; # 
&gt; # I'm still working on a backup script in Bash, and everything 
&gt; # was set up 
&gt; # perfectly, but for structural reasons I have to change what 
&gt; # gets backed up. 
&gt; # (just when you think you've got it...) 
&gt; # 
&gt; # What I need is to backup only the last ten tar.bz2 files in 
&gt; # the directory.   
&gt; # Can someone demonstrate how you do a for loop that would 
&gt; # determine the ten 
&gt; # most recent files and then tar only those ten into one big tar file? 
&gt; # 
&gt; # I appreciate the help with this...Bash scripting is still 
&gt; # very confusing for 
&gt; # me and my only alternative is to make it a Perl script.  I'm a Python 
&gt; # programmer and don't know any Perl, so neither is a great 
&gt; # option.  I'd love 
&gt; # to write it in Python but the place I'm working doesn't want 
&gt; # to have anything 
&gt; # around that isn't in Perl for support reasons. 
&gt; # 
&gt; # -Jay
&gt; # 
&gt; # _______________________________________________
&gt; # Ale mailing list
&gt; # 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; 
&gt; This email and any attached files herein contain information that is intended only for the use of the individual or entity to whom it is addressed and may contain information that is legally privileged, confidential or otherwise exempt from disclosure under applicable laws. If the reader of this message is not the recipient, any disclosure, dissemination, distribution, copying or other use or retention of this communication or its substance is prohibited.
&gt; 
&gt; 
&gt; _______________________________________________
&gt; Ale mailing list
&gt; 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; 


-- 
Until later, Geoffrey


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00315" href="msg00315.html">[ale] backup script part II</a></strong>
<ul><li><em>From:</em> Jerry.Yu at Voicecom.com (Yu, Jerry)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00317.html">[ale] backup script part II</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00319.html">Out of Office AutoReply: [ale] backup script part II</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00315.html">[ale] backup script part II</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00319.html">Out of Office AutoReply: [ale] backup script part II</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00318"><strong>Date</strong></a></li>
<li><a href="threads.html#00318"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

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