Timeline for Recursively count number of files in folders in tar file
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 7, 2018 at 18:46 | comment | added | smokes2345 | To get a count of each path that is true, but if you use the script i wrote up your overhead is minimal and each grep is relatively cheap. You can use multiple patterns in grep. I updated the answer to reflect this, but you can also specify multiple patterns on the command line with '-e' | |
| Mar 7, 2018 at 18:44 | history | edited | smokes2345 | CC BY-SA 3.0 |
added 146 characters in body
|
| Mar 6, 2018 at 21:00 | comment | added | SeanM |
Thanks for your answer, however, if I have more folders and files in my .tar file, I will have to point to them each for the grep <path> which is not the ideal solution.
|
|
| Mar 6, 2018 at 19:33 | history | edited | smokes2345 | CC BY-SA 3.0 |
added 268 characters in body
|
| Mar 6, 2018 at 19:28 | history | answered | smokes2345 | CC BY-SA 3.0 |