BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Accidental rm -rf (was Cloud-backup solutions for Linux?)
- Subject: [Discuss] Accidental rm -rf (was Cloud-backup solutions for Linux?)
- From: invalid at pizzashack.org (Derek Martin)
- Date: Wed, 30 Sep 2015 15:14:40 -0500
- In-reply-to: <CO1PR04MB380F0654C4880451E0490ABDC410@CO1PR04MB380.namprd04.prod.outlook.com>
- References: <CO1PR04MB380F0654C4880451E0490ABDC410@CO1PR04MB380.namprd04.prod.outlook.com>
On Sat, Sep 26, 2015 at 01:44:48AM +0000, Edward Ned Harvey (blu) wrote: > Heheh, what I do is this: > > ls -ld /foo/bar/* > > Did I see it display precisely the things I want to destroy? If so, > hit the up-key and replace "ls -ld" with "rm -rf" Exactly. Though, I'd be more inclined to use ls -lR or some incantation with find, unless I knew exactly what was in that tree... You should always take advantage of any opportunity to inspect what it is you're going to do, before you do it, any time the results are potentially destructive. Even if you got it right, you might find there's something that you really didn't want deleted... -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0xDFBEAD02 -=-=-=-=- This message is posted from an invalid address. Replying to it will result in undeliverable mail due to spam prevention. Sorry for the inconvenience.
- References:
- [Discuss] Accidental rm -rf (was Cloud-backup solutions for Linux?)
- From: blu at nedharvey.com (Edward Ned Harvey (blu))
- [Discuss] Accidental rm -rf (was Cloud-backup solutions for Linux?)
- Prev by Date: [Discuss] Nexus 5X
- Next by Date: [Discuss] Fwd: Hey FCC, Don't Lock Down Our Wi-Fi Routers | WIRED
- Previous by thread: [Discuss] Accidental rm -rf (was Cloud-backup solutions for Linux?)
- Next by thread: [Discuss] Fwd: Hey FCC, Don't Lock Down Our Wi-Fi Routers | WIRED
- Index(es):