del is a command-line file deletion utility with an integrated undelete function. Instead of immediately removing files from the filesystem, it stores them in a hidden .del directory, allowing the original files to be recovered later.
The application uses local deletion directories rather than transferring all discarded items into a central desktop trash folder. This approach keeps deleted data associated with its original filesystem location and can avoid moving large files across filesystem boundaries.
Users can list deleted files, restore individual items or permanently purge stored data when it is no longer needed. Purging can be restricted to files older than a specified number of days, allowing recently removed files to remain available for recovery.
del is distributed alongside two related utilities, vv and zz, which provide additional file-management functionality.
This is free and open source software.
Key Features
- Move deleted files into a local hidden .del directory.
- Restore deleted files using the -u option.
- List files currently held for recovery using -l.
- Permanently delete stored files using -p.
- Purge files older than a specified number of days using -d.
- Process deletion directories recursively using -r.
- Display detailed operation information using -v.
- Accept filename patterns for selecting files to remove.
- Keep deleted files on their original filesystem.
- Recover a specified file without restoring unrelated deleted items.
- Manage retained deleted files without opening a graphical file manager.
Website: fex.belwue.de/fstools/del.html
Support:
Developer: Ulli Horlacher
License: 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.