paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 555e6908dd796dc32cd47a9f3ede61da6ffa5f49
parent e54048a00d63cd328db3d65219293c8110a1ed30
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Tue, 26 Nov 2019 17:58:05 -0500

Fix some wording and title capitalisation

Diffstat:
Mpages/guides/using-rm-with-trash.md | 13+++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/pages/guides/using-rm-with-trash.md b/pages/guides/using-rm-with-trash.md @@ -1,4 +1,4 @@ -## Using The "rm" Command With Trash +## Using the "rm" Command with Trash [//]: # "This guide will show you how to make `rm` remove a file to the Trash folder first so that you can prevent yourself from accidentally irreversibly deleting something really important." @@ -19,10 +19,10 @@ to having an item go into the Trash folder (or "Recycle Bin") when it is deleted. This allows them to restore that file in the case that they accidentally deleted it. However, the story is different on the command line. The `rm` command will irreversibly delete a file from your system (short of -using data recovery techniques) and has no concept of a Trash folder. In this -guide I'll demonstrate how to make `rm` remove a file to the Trash folder first -so that you can prevent yourself from accidentally irreversibly deleting -something really important. +using data recovery techniques) and has no concept of a Trash folder. This guide +will show you how to make `rm` remove a file to the Trash folder first so that +you can prevent yourself from accidentally irreversibly deleting something +really important. ### Bash and Bash-like Shells @@ -49,4 +49,5 @@ The aliases above do the following: If you don't have `$XDG_DATA_HOME` defined (which you normally would if you're running a standard desktop like Gnome or KDE) you can replace that bit with -whichever path you prefer such as `$HOME/.Trash`. +whichever path you prefer such as `$HOME/.Trash`. The folder you choose must +already exist or else `mv` will be angry.