Skip to content

Interactively selects files to delete from current folder in the cli

Notifications You must be signed in to change notification settings

ruyadorno/itrash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

itrash

NPM version License Join the chat at https://gitter.im/ipipeto/Lobby

Interactively selects files to delete from current folder in the cli

An iPipeTo workflow



demo animation


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 itrash="ls | ipt -m -M 'Select items to delete:' | xargs trash"

License

MIT © 2018 Ruy Adorno

About

Interactively selects files to delete from current folder in the cli

Resources

Stars

Watchers

Forks

Packages

No packages published