![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| list the files but exclude the files in subdirectories | shyjuezy | UNIX for Dummies Questions & Answers | 8 | 10-15-2008 01:42 PM |
| Listing subdirectories and files | senthil_is | Shell Programming and Scripting | 1 | 05-24-2008 07:38 AM |
| Listing all files in all subdirectories | kuciauskas | UNIX for Dummies Questions & Answers | 3 | 02-01-2008 05:45 PM |
| tar subdirectories for specific files | ronald_brayan | UNIX for Advanced & Expert Users | 4 | 10-12-2006 05:53 AM |
| Searching files within subdirectories | jalvarez | UNIX for Dummies Questions & Answers | 1 | 09-08-2003 04:12 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
copy certain files from subdirectories
Hi all,
I'd very grateful for some help with the following. I have a variable number of subdirectories each of which contain a uniquely names results file of the form Results*.dat. I would like to search through all subdirectories and copy out these results file to another directory so that I can combine them, diff them etc. find . -name Results*.dat will find all the files for me. How should I pass this to cp (copy)? Thanks, E |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|