On 16 February 2012 10:17, Zelio Fernandes <zelio.f...@gmail.com> wrote: > zelio@zelio-desktop:~$ /usr/lib/postgresql/9.1/bin/shp2pgsql -s 4326 -i -I > /home/zelio/Desktop/Final(2)/FOREST.shp public.FOREST | psql -d prakasam > bash: syntax error near unexpected token `(' > zelio@zelio-desktop:~$
This has nothing to do with PostGIS; it is a syntax error in BASH due the '(' and ')'. The normal practice to naming file path arguments is to use double quotes around files, e.g. command "some file(2).shp" More info: http://www.gnu.org/software/bash/manual/bashref.html#Quoting -Mike _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users