chmod operation on directories / files
Julien Cigar
jcigar at ulb.ac.be
Wed May 7 12:20:36 UTC 2008
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: jcigar at ulb.ac.be
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52
More information about the freebsd-questions
mailing list