* Trasschaert Karl <karl...@hotmail.com>: > > Hi, > I've the same problem: > administra...@ubuntu10:/opt/otrs/var/cron$ sudo for foo in *.dist; do cp $foo > `basename $foo .dist`; done-bash: syntax error near unexpected token `do'
The ; ends the sudo command. Apply quotes or put for foo in *.dist; do cp $foo basename $foo .dist; done into a file and use: chmod 755 file sudo ./file -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/