Skip to main content
3 of 3
deleted 337 characters in body
Mitms
  • 159
  • 1
  • 2

For passing output as an argument, I tend to use a while loop since I'm not familiar with xargs.

ls | grep '^Dar' | while read line; do rm "$line";done; 
Mitms
  • 159
  • 1
  • 2