I would like to have a shell script that copies some logs from part of my system into the hudson workspace so that I can archive them.
So now I have
cp /directory/structure/*.log .
It's kind enough to be able to change to
cp '/directory/structure/*.log' .
Which, of course, was not found, since I do not have a file named * .log.
So how do I get this script to work?
EDIT
Therefore, I left the part that sudo cp / path / *. Log used because I did not think it mattered. Of course it is, and sudo is not a hudson problem.
source
share