sergioaraujo

 

pastasearquivos

Page history last edited by Sérgio Luiz Araújo Silva 2 yrs ago

#!/bin/bash
# este script cria 10 pastas com 10 arquivos cada
for ((i=1; i<=10; i++)); {
mkdir pasta$i
for ((j=1; j<=10; j++)); {
echo "arquivo${j}.txt" > pasta${i}/arquivo$j
}  
unset j
}

Comments (0)

You don't have permission to comment on this page.