New answers tagged

0

If you want to log both the "yui.jar" output and the "find" one, you have to add the redirect in quotation marks, like this: find . -type d -exec bash -c "cd '{}' && pwd && java -jar /opt/yui/yui.jar -o '.css$:.css' *.css >> log" \; >> log and maybe you want to specify a different name for the log file other than "log"...


0

This command logs the output of find but not the output of yui.jar. You will need to redirect the output then, something like ...java -jar /opt/yui/yui.jar -o '.css$:.css' *.css >logfile 2>errorlog ...



Top 50 recent answers are included