Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH] cg-init should only process files

From: Morten Welinder <hidden>
Date: 2016-06-15 22:41:57

-       find * | xargs cg-add
+       find * -type f | xargs cg-add
I think we went through that a day or two ago:  Problems:

1. You forgot symlinks.
2. It does not work if nothing matches "*".  (Nor does the original.)
3. Either it should not match dotfiles in subdirectories, or else it
should match
   them in the top directory too.
4. With needs some -print0 and "--" protection.

Morten
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help