The normal
Code:
cp -r Starting_dir Ending_dir
replicates in the ending dir the directory tree of starting dir.
Instead, I want to copy (for example) all the python files (ending with *.py), scattered all over my home (in different subdirs) into a unique directory, by means of a command like this:
Code:
cpx ~/*.py collecting_dir
What is the bash command (if any)?