vanguard
Registered
Friends,
I was hoping there would be somebody here who could whip up a cp command that would suit my needs.
Here's my situation. I have a directory path filled with .java and .class files that goes about six directories deep. I want to copy the dir structure and the .java files without getting any of the .class files. Actually, I want just the .java files. Any .bak, .orig, etc. garbage should also be left behind.
Anybody have a command that will do this?
I was hoping there would be somebody here who could whip up a cp command that would suit my needs.
Here's my situation. I have a directory path filled with .java and .class files that goes about six directories deep. I want to copy the dir structure and the .java files without getting any of the .class files. Actually, I want just the .java files. Any .bak, .orig, etc. garbage should also be left behind.
Anybody have a command that will do this?