mardi 3 février 2015

How can I find and list files that begin with a period?


I want to delete all the files on my server called .DS_STORE and .THUMBS


I tried the following to find these files, but they all came up empty. I know for sure there are some there.



> find . -name .DS_STORE -exec echo {} \;
> find . -name ".DS_STORE" -exec echo {} \;
> find . -name ".DS_STORE" -a -exec echo {} \;


Aucun commentaire:

Enregistrer un commentaire