Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
djoe48
· 14y ago · 0 comments
ls | grep junk | xargs rm # is dangerous due to The separator problem
https://en.wikipedia.org/wiki/Xargs#The_separator_problem
.
Comments
[–]
rcthompson
14y ago
ls | grep junk | xargs trash-put
https://github.com/andreafrancia/trash-cli/#readme