I must be missing something here. I have tried the rm command with the -r, -R, and --recursive options many different ways.
To test the situation, I have set up a temp directory with three subdirectories. Each subdirectory has two files in it, a .dwg and .bak file. I am trying to use the rm command as shown:
rm -rf ../temp/*.bak
The only time this works is if I point directly to one of the subdirectories. I need to remove all of the .bak files in one command. I use to use a batch file from a windows wkstn. The server that I am trying to do this on has over a thousand subdirectories under the main dwg directory.
Regards,
BAW