Interactively selects files to delete from current folder in the cli
An iPipeTo workflow
Get it with npm:
npm install -g itrash
Anywhere in your file system, use the command:
itrash
OR
bypass npm install and run it at once using npx:
npx itrash
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:
alias itrash="ls | ipt -m -M 'Select items to delete:' | xargs trash"
MIT © 2018 Ruy Adorno