Portál AbcLinuxu, 25. listopadu 2026 00:27
find <adresar> -type d -print0 | xargs -0 chmod 744, resp. find <adresar> -type f -print0 | xargs -0 chmod 644
find adresář -type d -print0 | xargs -0 chmod 744 find adresář -type f -print0 | xargs -0 chmod 644
find adresář -type d -exec chmod 744 {} \;
find adresář -type f -exec chmod 644 {} \;
-exec spousti prikaz pro kazdy nalez a {} se nahradi nazvem souboru. \; ukoncuje prikaz pro -exec
chmod 644 -R adresar chmod u+X -R adresar
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.