Skip to content
/ TBDel Public

A simple command-line tool for managing a list of files and directories marked for deletion. User can add, remove, list, and execute the deletion of these entries.

License

Notifications You must be signed in to change notification settings

mmahdium/TBDel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TBDel (To Be Deleted)

A simple command-line tool for managing a list of files and directories marked for deletion. User can add, remove, list, and execute the deletion of these entries.

Installation

  • Install on Arch Linux (aur)
paru -S tbdel

Usage

Usage: tbdel <command> [arguments]

Available commands:
add <path to file or folder>       Add a file or folder to the list
delete <file or folder ID>         Deletes a file or folder
rmflist          Remove an entry ONLY from the list
deleteall        Deletes all items in the list
list             Lists all items in the list
help             Shows this help message

Examples

  • Add a file:

    tbdel add /path/to/my/file.txt
  • Add a folder:

    tbdel add /path/to/my/folder
  • List all entries:

    tbdel list
  • Remove an entry ONLY from the list: (Assuming '12345' is the ID of the entry you want to remove from the list)

    tbdel rmflist 12345
  • Delete an entry (using its ID): (Assuming '12345' is the ID of the entry you want to delete)

    tbdel delete 12345
  • Delete all entries:

    tbdel deleteall
  • Get help:

    tbdel help

Contributing

All contributions are welcome! Feel free to submit pull requests, bug reports, or feature requests.

License

This project is licensed under the GNU Affero General Public License v3.0 - see the LICENSE file for details.

About

A simple command-line tool for managing a list of files and directories marked for deletion. User can add, remove, list, and execute the deletion of these entries.

Topics

Resources

License

Stars

Watchers

Forks

Languages