cp files from grep results
How can I use cp with the results from the following:
grep -E '[Ww][Oo][Rr][Dd]' MyFiles_tif/textversion/* |
Try something like
Code:
cp $(grep -El '[Ww][Oo][Rr][Dd]' MyFiles_tif/textversion/*) /destination/ |
Worked perfectly.
Thank you. |
All times are GMT -5. The time now is 02:49 AM. |