The UNIX rm is a “take no prisoners” command: it deletes files with no undo possibility.
The “wastebasket” of GUI desktop systems is bad designed: it moves deleted files to $HOME – across file system borders! And you have no CLI!
With del you have a delete command with integrated undelete function.
del saves your deleted files in a local .del/ subdirectory.
At any time you can call del -u to undelete or del -p to purge deleted files.
del comes with vv and zz in one package.
Website: fex.belwue.de/fstools/del.html
Support:
Developer: Ulli Horlacher
License: Perl Artistic License
usage: del [-v] [-u] file(s)
del [-v] -p [-r] [-d days] [directory]
del [-v] -l
options: -v verbose mode
-u undelete file(s)
-p purge deleted files [older than -d days]
-r recursive (all subdirectories)
-l list deleted files
examples: del *.tmp # delete all *.tmp files
del -u project.pl # undelete project.pl
del -vprd 2 # verbose purge deleted files older than 2 days
del is written in Perl. Learn Perl with our recommended free books and free tutorials.
| Explore Linux | |
|---|---|
| Best Free and Open Source Software - A huge collection of recommended free and open source software covering every major category. | |
| In-depth Linux Software Reviews - Detailed assessments of Linux software covering features, usability and overall quality. | |
| The Big List of Active Linux Distros - An extensive collection of actively developed Linux distributions. | |
| Open Source Alternatives - Alternatives to software and services from Google, Microsoft, Apple, Adobe, IBM, Autodesk, Oracle and others. | |
| Essential Linux System Tools - Indispensable utilities for monitoring, maintaining and managing Linux systems. | |
| Linux Productivity Tools - Useful utilities for improving productivity and streamlining everyday tasks. | |
| Alternatives to Popular CLI Tools - Modern alternatives to familiar command-line utilities supplied with Linux systems. | |
| Awesome Free Linux Game Tools - Tools, utilities and companion software that improve gaming on Linux. | |
| Machine Learning on Linux - Machine learning and deep learning software, self-hosted applications and practical tools. | |
| Saving Money with Linux - Practical ways to reduce electricity consumption and lower computing costs with Linux. | |
| Linux Candy - Fun, entertaining and sometimes delightfully quirky software from the lighter side of Linux. | |

Please read our Comment Policy before commenting.