ls -l . | grep ^d | awk '{print $9}' | xargs rm -rf
ls -al | grep -E '^-.*ml'
ls -l | grep -E '^-.*ml' | awk '{print $9}' |xargs rm -f
https://www.thegeekstuff.com/2011/10/grep-or-and-not-operators/
https://stackoverflow.com/questions/219402/what-linux-shell-command-returns-a-part-of-a-string
No comments:
Post a Comment