I am not familiar with osx terminal command.
I have a java project containing many package.
Some classes have same name in different package.
I need to copy all of the class files into a directory, so I need to add
corresponding package prefix on each files.
For example, I have
root/com/example2/test.java two classes having the same name in different packages. I need to copy them into
root directory and add prefix, making them become
How to do this using terminal command?