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

[no subject]



[...]

    Preston> /bin/tar -zcpf /usr/local/share/data/`date
    Preston> +%Y-%m-%d`.tar.gz /usr/local/share/data/

[...]


    Preston> Does this look remotely correct to anyone?  Anything I am
    Preston> forgetting?

You probably want an --exclude='*.tar.gz' argument to tar since you're
writing the tarballs into the same directory you're tar'ing.

-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org|  Vincent, you should cease askin'          \ o.O'
                      |  scary questions." -- Jules                =(___)=
                      |                                               U


</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="00405" href="msg00405.html">[ale] tar and date</a></strong>
<ul><li><em>From:</em> PBoyington at polyengineering.com (Preston Boyington)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00411.html">[ale] Problem with Earthlink's mail server</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00413.html">[ale] Problem with Earthlink's mail server</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00408.html">[ale] tar and date</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00416.html">[ale] tar and date</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00412"><strong>Date</strong></a></li>
<li><a href="threads.html#00412"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

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