find all hidden files in a directory and delete
Aug.20, 2009 in
Think Linux
This turns out to be much slightly tricky. I came up with this solution
find . -type f | grep '\/\.[^.]*' | xargs rm -rf
This turns out to be much slightly tricky. I came up with this solution
find . -type f | grep '\/\.[^.]*' | xargs rm -rf
Leave a Reply