* Trasschaert Karl <karl...@hotmail.com>:
> 
> Hi,
> Sorry, i'm certainly doing sothing wrong, but i just put the line or foo in 
> *.dist; do cp $foo basename $foo .dist; done in a file, i've done the chmod 
> 755 and run the file, here is the result. :s
> 
> 
> 
> administra...@ubuntu10:/opt/otrs/var/cron$ sudo ./test1cp: target `.dist' is 
> not a directorycp: target `.dist' is not a directorycp: target `.dist' is not 
> a directorycp: target `.dist' is not a directorycp: target `.dist' is not a 
> directorycp: target `.dist' is not a directorycp: target `.dist' is not a 
> directorycp: target `.dist' is not a directorycp: target `.dist' is not a 
> directorycp: target `.dist' is not a directory

You didn't define $foo.
But at least it's working now :)

-- 
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/

Reply via email to