1
1
I'm trying to symlink some php files using the following command:
find `pwd` -name "*.php" | ln -s * /home/frankv/www/bietroboter.de/symlinks
However, all the symlinks are broken because the little * does not reference the full path, only the file name itself. When I write them into a file using:
find `pwd` -name "*.php" > test.txt
It works. How can I pipe it correctly? Also, how can I tell it that I do not want any ".php" files that contain ".php~"
Thanks Oli. What would I do if, let's say, they are all written down in a file and I read them out with cat test.txt? – Frank Vilea – 2011-12-02T19:24:12.420