[lfs-support] Using 'find' to Help Make Package Users Simpler

2013-10-16 Thread Dan McGhee
This may come close to or straddle the off topic line for this list. I thought I'd ask my question anyway since there are some who use the More Control hint and who run into some of the same frustrations that I do. There is a question about the use of find in this post. If you don't want to

Re: [lfs-support] Using 'find' to Help Make Package Users Simpler

2013-10-16 Thread Pierre Labastie
Le 16/10/2013 20:43, Dan McGhee a écrit : [...] Here's the find statement: find / -xdev -type d -gid $(id -g packageuser name) \! -path /usr/src \! -path /tools -print This statement achieves all the parameters stated above with the addition that it ignores /tools also. Now I would

Re: [lfs-support] Using 'find' to Help Make Package Users Simpler

2013-10-16 Thread Dan McGhee
On 10/16/2013 03:15 PM, Pierre Labastie wrote: I've never tried two -exec directives in find, sorry. What I know is that xargs is more flexible, and I recommand that you insist on having it work. It could be something similar to: find... -print| xargs -I xxx sh -c 'chmod xxx; chown xxx; echo

Re: [lfs-support] Using 'find' to Help Make Package Users Simpler

2013-10-16 Thread Dan McGhee
On 10/16/2013 03:59 PM, Dan McGhee wrote: On 10/16/2013 03:15 PM, Pierre Labastie wrote: I've never tried two -exec directives in find, sorry. What I know is that xargs is more flexible, and I recommand that you insist on having it work. It could be something similar to: find... -print|