Socket
Book a DemoInstallSign in
Socket

itrash

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

itrash

Interactively selects files to delete from current folder in the cli

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

itrash

Interactively selects files to delete from current folder in the cli

An iPipeTo workflow

asciicast

Install

Get it with npm:

npm install -g itrash

Run

Anywhere in your file system, use the command:

itrash

OR

bypass npm install and run it at once using npx:

npx itrash

Bash alias equivalent

If you're already an ipt user that has it globally installed, you can get this same functionality by just adding this alias to your bash (or equivalent) file:

Requirements

  • Unix-like system (needs ls and xargs cmds)
  • trash-cli globally installed
  • ipt globally installed
alias irm="ls | ipt -m -M "Select items to delete:" | xargs trash"

License

MIT © 2018 Ruy Adorno

Keywords

ipt

FAQs

Package last updated on 03 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts