[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Verificar se diretório existe
From: |
Otávio Fernandes |
Subject: |
Re: [shell-script] Verificar se diretório existe |
Date: |
Sat, 1 Dec 2007 09:23:45 -0200 |
Angelo,
Veja esta man page:
$ man [
(...)
-d file True if file exists and is a directory.
(...)
vai ser muito útil para muitos outros testes que você queira fazer.
um abraço,
--
| --
| Otávio Fernandes < otaviof | gmail | com >
| FreeBSD 7.0 BETA3 && GNU/Linux User: 283.396
| (( Especial Programação )) http://geekbr.podcastbrasil.com/
| --