How to grep Files from Server
A script to convert single line to list of db
One line to convert all db
At Shell to create and download file from the list
#!/bin/bash
awk '
BEGIN {
FS=","
x=1
}
{do{
print $x;
x++;
}while($x)}'
One line to convert all db
for((i=1;i<=19;i++));do sh ../convert_array_to_db.sh < $i.txt >> $i.list; done
At Shell to create and download file from the list
Shell#> for((i=1;i<=20;i++));do mkdir $i; cd $i; wget -bq -i ../../$i.list; cd .. ; done
Comments