
* Trasschaert Karl
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
administrator@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.hildebrandt@charite.de | http://www.charite.de