Skip to content
Snippets Groups Projects
Commit 352636f3 authored by Pedro Folloni Pesserl's avatar Pedro Folloni Pesserl
Browse files

start part 2

parent 0db56584
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
if [ $# -ne 2 ]; then
>&2 echo "Uso: <dcsv> <dsin>"
exit 1
fi
testa_se_diretorio() {
if [ ! -d $1 ]; then
>&2 echo "Erro: $1 não é um diretório."
exit 1
fi
}
DCSV=$1
DSIN=$2
testa_se_diretorio $DCSV
testa_se_diretorio $DSIN
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment