bash for terminator

BendikR na mod.gov.sk BendikR na mod.gov.sk
Úterý Říjen 24 10:36:21 CEST 2000


> From:	Míla Kuchta [SMTP:mila.kuchta na atlas.cz]
> Sent:	Monday, October 23, 2000, 21:46:28

> for file in $(find); do # -print0 | -printf "\""%p"\"\n"
>     if [ -f "$file" ]; then
>         chmod 644 "$file"
>     elif [ -d "$file" ]; then
>         chmod 755 "$file"
>     fi
> done

konkretne tu by stacilo 'chmod -R a+rX $dir'...


--bye,
	des. rado b <Radoslav.Bendik na mod.gov.sk>



Další informace o konferenci Linux