search for: not_this_folder_oh_no

Displaying 1 result from an estimated 1 matches for "not_this_folder_oh_no".

2009 Jun 03
4
[OT] Simple Shell Script (while loop)
...ory. Break is the wrong command but what should it be? Sorry I can't be any clearer but I don't know exactly what you would call this (which is why I am having no success finding it for my self!) #!/bin/bash find ./ -maxdepth 1 -type d | while read FOLDER do if [ $FOLDER == "./not_this_folder_oh_no!" ]; then break fi <otherwise do some magic here> done Many thanks for your time and input. Regards, James ;) -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GIT/MU/U dpu s: a--> C++>$ U+> L++> B-> P+> E?> W+++>$ N K W++ O M++>$...