Timeline for Get the last line from each of a large number of files, transform them, and write all results to a single new file
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 29, 2014 at 13:22 | history | edited | RunnyKine | CC BY-SA 3.0 | edited title |
| Jul 28, 2014 at 17:06 | history | edited | brama | CC BY-SA 3.0 | deleted 67 characters in body |
| Jul 24, 2014 at 22:04 | vote | accept | brama | ||
| Jul 22, 2014 at 13:33 | answer | added | WReach | timeline score: 12 | |
| Jul 22, 2014 at 11:20 | comment | added | acl | You can even make a palette! (OK I guess it won't work with hundreds of files, but self-promotion is self-promotion) | |
| Jul 22, 2014 at 8:25 | history | edited | m_goldberg | CC BY-SA 3.0 | Minor clean-up |
| Jul 22, 2014 at 7:46 | comment | added | xzczd♦ | You may also refer to this. | |
| Jul 22, 2014 at 5:51 | comment | added | Mike Honeychurch | take WReaches module: myFunction[file_]:=Module[...] then make a list of your files: ls = FileNames["*.csv", "/path/to/files", 2] and then map that list onto your function to get the last line from all files. Then you can save this to a new files. You can also join the files names to the output so that each last line is associated with its filename. | |
| Jul 22, 2014 at 5:22 | history | asked | brama | CC BY-SA 3.0 |