<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>RE: [GRASS-user] import multiple shapefiles automatically</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>I tried this one:<BR>
v.in.ogr 'dsn=C:\QGIS\species_shapefiles'<BR>
but it didn't work, it said something like &quot;required output parameter missing&quot;...<BR>
<BR>
then I tried the &quot;one-line-instead-of-a-script&quot;:<BR>
for i in C:\QGIS\species_shapefiles\*.shp; do v.in.ogr dsn=$i out=`basename $i .shp`; done<BR>
<BR>
but it still gave an error, apparently because the shapefiles didn't have georeferencing information and I was trying to import them to my georreferenced location, hence projection didn't match (although the maps do overlay perfectly). But it said I could add &quot;-o&quot; to the v.in.ogr commmand to override this projection check, so I did:<BR>
<BR>
for i in C:\QGIS\species_shapefiles\*.shp; do v.in.ogr dsn=$i out=`basename $i .shp` -o; done<BR>
<BR>
And it worked! Thanks guys<BR>
Márcia<BR>
</FONT>
</P>

</BODY>
</HTML>