On Fri, Mar 29, 2002 at 01:13:40PM +0200, Tzahi Fadida wrote:
> since no one answered i wish to rephrase and add.
> Can someone point me or write a simple perl script (and i know some
> of u can do i in 1 line :) that changes all the files attributes (ex:
> chmod 766) in an ftp site accross subdirectries? 

RTFM find (1). 
find ./ -name "*" -type f | xargs chmod 766

you can also do the same thing  using find's -exec option, but i
always found its syntax non intuitive. 

[and trim your lines at 72 characters, please]]]
-- 
The ill-formed Orange
Fails to satisfy the eye:       http://vipe.technion.ac.il/~mulix/
Segmentation fault.             http://syscalltrack.sf.net/

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to