for i in /home/www/web3/html/Content/sites/*/bilder; do chmod 775 $i; done
for i in /home/www/web3/html/Content/sites/*/thumbs; do chmod 775 $i; done
for i in /home/www/web3/html/Content/sites/*/medien; do chmod 775 $i; done
es kommt wenn ich das script ausführe immer die fehlermeldung
line 7: syntax error: unexpected end of file, was ist an dem script falsch?
danke chris
unexpected end of file
-
- Posts: 561
- Joined: 2003-02-01 13:14
- Location: Fuldatal
Re: unexpected end of file
mach doch mal nen:
for i in /home/www/web3/html/Content/sites/*/bilder; do echo $i; done
Dann wird dir evlt. aufgehen, was da falsch läuft.
for i in /home/www/web3/html/Content/sites/*/bilder; do echo $i; done
Dann wird dir evlt. aufgehen, was da falsch läuft.
-
- Posts: 41
- Joined: 2003-07-22 00:00
- Location: Koblenz
Re: unexpected end of file
habe die zeilen jetzt nochmal neukopiert und es klappt jetzt, liegt anscheinend an der leerzeile unter dem skript