Timeline for Find files in globbed directories excluding some subpaths
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 23, 2016 at 13:02 | comment | added | Eric Renouf | @sdaau that will get rid of the top level directories, but would also get rid of any subdirectories themselves if you had any. It may be what you want, but it will exclude more than just the top level directories by adding -type f | |
| Nov 23, 2016 at 13:00 | comment | added | sdaau | Many thanks @EricRenouf - that works great, I just had to add type f: ... -prune -o -type f -print so as to get rid of the top level directories... Cheers! | |
| Nov 23, 2016 at 12:59 | vote | accept | sdaau | ||
| Nov 23, 2016 at 12:49 | history | answered | Eric Renouf | CC BY-SA 3.0 |