Quote:
Originally Posted by jim mcnamara
One way
[code]
find . -name 'some_MAY_1*' |\
while read file
do
cp $file /path/to/destination/
done [code]
|
can be done as short as
Code:
find . -name 'some_MAY_1*' -exec cp {} /path/to/destination \;
if it's a directory, use 'cp -r'