copy all files ending with linux code example
Example 1: linux find files ending with
find . | grep *\.rb
Example 2: copy files with same last modified date in linux
cp -p oldfile newfile
find . | grep *\.rb
cp -p oldfile newfile