On Wed, Jun 03, 2009 at 08:44:29AM +0100, James Bensley wrote:
There are many ways to do this; building on your code snippet it would be:
#!/bin/bash find ./ -maxdepth 1 -type d | while read FOLDER do if [ "$FOLDER" = "./not_this_folder_oh_no!" ]; then continue fi <otherwise do some magic here> done
"continue" is treated as a reloop operator; and you should quote strings.
John