On Thu, Aug 15, 2013 at 3:45 PM, Jan Danielsson
<[email protected]>wrote:

>    find . -type f | while read line
>

Or (i had to poke around the man pages for this) you can check for
permissions using find:

[stephan@host:~/cvs/fossil/f2]$ find . -perm /u+x -type f
./test-mf
./test
./configure
./autosetup/find-tclsh~
./autosetup/find-tclsh
./autosetup/autosetup
./autosetup/jimsh0
./autosetup/config.guess
./autosetup/config.sub
./th1ish/th1ish
./f-timeline
./f-tag

so, this ought to do it:

fossil add $(find . \! -perm /u+x)

untested, but that find expression does what i want on my box.


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to