Hi I have the following command that does yui optimizations and runs as a cron job. I want to log the output of the command to a log file.
find . -type d -exec bash -c "cd '{}' && pwd && java -jar /opt/yui/yui.jar -o '.css$:.css' *.css" \; > log
This command logs the output of find but not the output of yui.jar. that is logged to the console. Any way to log that to the same file ?