![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Find a file and xarg mv to append date to file | jacktravine | SUN Solaris | 6 | 10-05-2009 12:27 PM |
| find, if exists then append for file with same name | RubinPat | Shell Programming and Scripting | 8 | 05-18-2009 10:40 PM |
| search directory-find files-append at end of line | PrasannaKS | Shell Programming and Scripting | 1 | 03-02-2009 11:15 AM |
| need to help to find and copy to a file | pujars1 | UNIX for Dummies Questions & Answers | 2 | 07-12-2007 10:56 AM |
| find and copy string in a file | vascobrito | UNIX for Advanced & Expert Users | 10 | 03-03-2004 02:14 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Find, copy, and append into one file
Hi, I am trying to do something relatively easy, but am having some trouble getting it to work.
I have multiple files called "distances.log" in numerous subdirectories and sub-subdirectories within a directory. I would like the contents of each of these "distances.log" files to be appended to a single, new file called "distances_summary.log". I know there are numerous ways to do this, but Of the numerous things I tried, I tried: find ./ -name "*distance.log" > distances_summary.log and various modifications of it (trying not to print the path, but the contents of each). I think there's a much easier solution that I am not aware of. I know this is really silly - maybe I just need to take a break... Thanks |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|