arg list too long

arg list too long

Post by jxfau.. » Sat, 07 Nov 1998 04:00:00




>      chmod 644 `find toslog -type f`
>      sh: /usr/bin/chmod:  arg list too long

find toslog -type f | xargs chmod 644
 
 
 

arg list too long

Post by Olaf Pfoh » Sat, 07 Nov 1998 04:00:00



>      chmod 644 `find toslog -type f`
>      sh: /usr/bin/chmod:  arg list too long

You may let 'find' execute a command for each file:

$ find toslog -type f -exec chmod 644 {} ";"

Bye,
Olaf

 
 
 

1. sco-list: arg list too long

man xargs

Bill
--

UUCP:               camco!bill  PO Box 820; 2835 82nd Avenue S.E. S-100
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

A child can go only so far in life without potty training.  It is not
mere coincidence that six of the last seven presidents were potty
trained, not to mention nearly half of the nation's state legislators.
                -- Dave Barry

2. Weirdness with PS/2 mouse and 3-button emulation

3. arg list too long: help?

4. New release of Monsanto NQS now available

5. /bin/ls: arg list too long

6. GNOME?

7. Arg list too long

8. Make Money

9. grep: cannot execute [Arg list too long] ???

10. ODT - ksh: /bin/ls: arg list too long

11. arg list too long

12. err: arg list too long

13. arg list too long