I used this one to copy file in every dir:
find -type d -maxdepth 1 -print0 | xargs -0 -n1 cp .htaccess
Now i need to do reverse one and delete file with matching name from every sub directory of one i am currently in
If I understand your description correctly, you want to remove
You could have done without
The following assumes you previously run the
The -v (verbose) option is optional but it helps to see what files are actually deleted.