Morning,<br>I would like a simple bash script to check if a list of user directories exist and if they do delete them.  If they don&#39;t output a message and skip to next folder to check.  E.g.<br><br>Does /Home/user1 exist &gt; Yes &gt; Delete /home/user1 goto next check<br>
                                       No  &gt; &quot;user1 not found&quot; go to next check<br>Does /Home/user2 exist &gt; Yes &gt; Delete home/user2 goto next check<br>                                       No &gt; &quot;user2 not found&quot; go to next check<br>
end.<br><br>Any ideas how I can do this?<br><br>Cheers,<br><br>Nathan.<br><br>