Skip to content

u/excessiveCopper

In this archive from Jan 2020 to Jun 2021

1
posts
8
comments
0
media
41
score

Use the trash utility [1]. Add the following alias alias rm=trash. I use this implementation [2], not sure which other ones may exist.

It accepts all arguments that rm does and just ignores them. All deleted files go into $XDG_DATA_HOME/Trash, which defaults to ~/.local/share/Trash. There are also additional commands to manage the trashcan.

[1] https://specifications.freedesktop.org/trash-spec/trashspec-1.0.html

[2] https://github.com/andreafrancia/trash-cli

3 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.