[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Thu Nov 25 10:43:45 2004 -->
- <!--x-from-r13: Rbj.Vhefg ng zvaqfcevat.pbz (Rbj Vhefg) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] help with rm (yes, I'm embarrassed about this) -->
- <li><em>date</em>: Thu Nov 25 10:43:45 2004</li>
- <li><em>from</em>: Dow.Hurst at mindspring.com (Dow Hurst)</li>
- <li><em>in-reply-to</em>: <<a href="msg00989.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00989.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] help with rm (yes, I'm embarrassed about this)</li>
Wherever you are in the filesystem, typing /usr/bin/rm -rf
/home/backup/* would have prevented the mishap.
Happy Thanksgiving!
Dow
Nathan J. Underwood wrote:
> Ok, too early in the morning, and little coffee has been ingested (and
> it's really close to a long weekend). Anyway, here's the deal. I
> have a server that houses all of it's data in /home. There's a
> subdirectory (/home/backups) that had a backup of all of the stuff
> that was in /home (all of the data) that I needed to empty (not delete
> the directory, just empty it out). Generally, I'll cd into that
> directory and do an rm -rf *, which works really well. Since the
> process is a once-in-a-blue-moon thing, I've not bothered scripting or
> automating it. At any rate, I had to do it this morning.
> Unfortunately for me, I was in /home, rather than in /home/backup. I
> very quickly realized what I'd done (about 2 seconds), but had already
> started the command. So, here's the quandry. I know *some stuff*
> must have been deleted. I'm hoping that it starts deleting at 0 and
> progresses to z. If that's the case, it would have started in the
> /home/backups directory, in which case I have nothing to worry about
> (i.e. nothing outside of /home/backups would have been bothered). Can
> anyone confirm / debunk this, or tell me where to look it up? Thanks.
>
> \/-- insert flames here --\/
>
>
</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="00989" href="msg00989.html">[ale] help with rm (yes, I'm embarrassed about this)</a></strong>
<ul><li><em>From:</em> ale1 at cybertechcafe.net (Nathan J. Underwood)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01007.html">[ale] Cheap UPS http://slickdeals.net/#p5461 APC Conext 900VA $30 after $40 rebate</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01009.html">[ale] Firewall?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00990.html">[ale] help with rm (yes, I'm embarrassed about this)</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01012.html">[ale] help with rm (yes, I'm embarrassed about this)</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01008"><strong>Date</strong></a></li>
<li><a href="threads.html#01008"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>