/ Published in: Bash
Expand |
Embed | Plain Text
for x in *; do [-x $x -a -f $x.ext] && echo $x; done | xargs rm
Comments
Subscribe to comments
You need to login to post a comment.
for x in *; do [-x $x -a -f $x.ext] && echo $x; done | xargs rm
Subscribe to comments
You need to login to post a comment.
where: x may be any other file extension or suffix
where: x may be any other file extension or suffix