Shell-script - How to remove all files in cvs directory, Recursively remove all files in a CVS directory

How to remove all files in cvs directory

 
for dir in $(find -type d ! -name CVS); 
 do 
  for file in $(find $dir -maxdepth 1 -type f); 
  do 
  rm $file; 
  cvs delete $file; 
  done; 
done

This will search all directories and ignore the CVS ones. Then it will search all files in the resulting directories and act on them.

The topic on Shell-script - How to remove all files in cvs directory is posted by - Math

Hope you have enjoyed, Shell-script - How to remove all files in cvs directoryThanks for your time

Tech Bluff