[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Wed Mar 23 15:23:41 2005 -->
- <!--x-from-r13: BPblvatgba ng cbylratvarrevat.pbz (Berfgba Pblvatgba) -->
- <!--x-message-id: ED82B8B59EA2D44C9E64E228028E4B34029CBA@poly_ethylene.corp.polyengineering.com -->
- <!--x-subject: [ale] tar and date -->
- <li><em>date</em>: Wed Mar 23 15:23:41 2005</li>
- <li><em>from</em>: PBoyington at polyengineering.com (Preston Boyington)</li>
- <li><em>subject</em>: [ale] tar and date</li>
I think I need to do something like:
------------------------
#!/bin/bash
/bin/tar -zcpf /usr/local/share/data/`date +%Y-%m-%d`.tar.gz /usr/local/share/data/
rsync -CPaur /usr/local/share/data/ /backup/data/
-------------------------
Does this look remotely correct to anyone? Anything I am forgetting?
Preston
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00408" href="msg00408.html">[ale] tar and date</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
<li><strong><a name="00412" href="msg00412.html">[ale] tar and date</a></strong>
<ul><li><em>From:</em> fletch at phydeaux.org (Fletch)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00404.html">[ale] OT: sync iPod with Sunbird Calendar (sortof)</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00406.html">[ale] OT free news server</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00404.html">[ale] OT: sync iPod with Sunbird Calendar (sortof)</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00408.html">[ale] tar and date</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00405"><strong>Date</strong></a></li>
<li><a href="threads.html#00405"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>