Timeline for How to print find match as well as run an -exec
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 1, 2013 at 7:27 | answer | added | Gilles Quénot | timeline score: 0 | |
| Mar 1, 2013 at 5:18 | answer | added | Mikel | timeline score: 9 | |
| Mar 1, 2013 at 5:17 | comment | added | Johan |
If you can modify script.sh, the do so to make it emit the file it operates on just as it start. If you can not, make a wrapper.sh which emits the output and calls script.sh. If your script can take multiple file names as arguments then you should investigate xargs, eg find -find_options | xargs script.sh
|
|
| Mar 1, 2013 at 4:45 | history | edited | Aaron | CC BY-SA 3.0 |
added 17 characters in body
|
| Mar 1, 2013 at 4:39 | history | asked | Aaron | CC BY-SA 3.0 |