sorry.. | xargs chmod instead of | xargs | chmod ...

On Wed, 2008-05-07 at 16:14 +0200, Julien Cigar wrote:
> find your_dir -type (f|d) | xargs | chmod ...
> 
> or
> 
> find your_dir -type (f|d) -exec chmod {} \;
> 
> On Wed, 2008-05-07 at 13:56 +0200, Zbigniew Szalbot wrote:
> > Hello,
> > 
> > How do I chmod separately files and directories?
> > 
> > If I use chmod -R 644 then it will go through all the subdirectories 
> > assigning everything 644 permissions, directories including.
> > 
> > Many thanks!
> > 
-- 
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Université Libre de Bruxelles (ULB)
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
Mail: [EMAIL PROTECTED]
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to