[Qgis-user] help to list files by bourne-shell

Jan Tappenbeck osm at tappenbeck.net
Wed Jun 20 07:36:13 PDT 2012


hi !

i want to create a script for use in msys - but i am not a linux-user. i 
try to create this by a template:

#!/bin/sh
# Einfaches Beispiel

for i in C:/Users/tappenbeck/Desktop/Project/*;
do
if [ -d "$i" ];
then
echo $i is directory;
fi;
done

but there will no files list - can anyone help me ?

reagards Jan :-)




More information about the Qgis-user mailing list