Trash Management on Linux from the Command Line! (trash-cli) @EricMurphyxyz
Trash Management on Linux from the Command Line! (trash-cli)  @EricMurphyxyz
Uploaded July 2022 | Updated November 2026, 3 hours ago
Want to keep a Trash folder on Linux from the command line? Are you tired of rm'ing files and having them disappear into the abyss? With trash-cli, you can now experience the wonders of a trash folder without having to click around in your least favorite GUI file manager. Plus, you can add the ability to trash things to your favorite terminal file manager like lf or ranger. In this video, I'll show you how to trash files, restore them, automatically empty your trash every 30 days, and more...

Watch my videos on Odysee: odysee.com/$/invite/@ericnmurphy:9
My website: https://ericmurphy.xyz
My GitHub: github.com/ericmurphyxyz

Get a VPS and host a website with Vultr: vultr.com/?ref=9005580-8H (affiliate link)

0:00 Intro
1:23 Installing trash-cli
1:52 Basic usage
3:01 Restoring files from the trash
3:49 Emptying the trash
4:56 Adding commands to lf (terminal file manager)
5:43 Automatically emptying the trash after x days
7:03 Conclusion
Trash Management on Linux from the Command Line! (trash-cli)The ULTIMATE Search Engine Tier List (Based Tier to Surveillance Tier)Arch Linux Wiki Tips You Should Know...Is This the New Best Privacy Browser? (Mullvad Browser)How ThinkPads Became The Internets Favorite LaptopNew to Linux? Yeah, DONT Use Manjaro...Do We STILL Need to Use Vendor Prefixes in CSS?The Centralized Web Is Falling ApartVideo Editing on Linux Is Terrible. Or Is It?How to Use Hugo with a CMS (Netlify CMS)How to browse your favorite websites WITHOUT the creepy trackingHow to Remove DRM From Amazon Kindle Books!
Eric Murphy |

Trash Management on Linux from the Command Line! (trash-cli)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER