$call test input.xls -nt input.gdx && gdxls -propertyfile properties.txt
This will cause that gdxls will only be called if input.xls has been changed since the last time this conversion was performed.
I am a full-time consultant and provide services related to the design, implementation and deployment of mathematical programming, optimization and data-science applications. I also teach courses and workshops. Usually I cannot blog about projects I am doing, but there are many technical notes I'd like to share. Not in the least so I have an easy way to search and find them again myself. You can reach me at erwin@amsterdamoptimization.com.
$onecho > trnsport2.properties
o=trnsport2.xls
i=trnsport2.gdx
parameter=c
rng=a1
rdim=1
cdim=1
parameter.2=c
rng.2=f1
rdim.2=2
cdim.2=0
parameter.3=c
rng.3=sheet1!A10
rdim.3=0
cdim.3=2
$offecho
$call gamslib trnsport
$call gams trnsport lo=2 gdx=trnsport2
$call ./gdxls -propertyfile trnsport2.properties
$call oocalc trnsport2.xls

$onecho > trnsport.properties
i=trnsport.xls
o=trnsport.gdx
parameter=c
rng=b4
rdim=1
cdim=1
$offecho
$call gdxls -propertyfile trnsport.properties
sets
i 'canning plants' / seattle, san-diego /
j 'markets' / new-york, chicago, topeka /
;
parameter c(i,j);
$gdxin trnsport.gdx
$load c
display c;
erwin@erwin-desktop:~/workspace/gdxls$ gams test1.gms
--- Job test1.gms Start 10/25/08 09:42:14
GAMS Rev 228 Copyright (C) 1987-2008 GAMS Development. All rights reserved
Licensee: GAMS Development Corporation, Washington, DC G871201/0000CA-ANY
Free Demo, 202-342-0180, sales@gams.com, www.gams.com DC0000
--- Starting compilation
--- test1.gms(12) 2 Mb
--- call gdxls -propertyfile trnsport.properties
GDXLS V 0.1, Amsterdam Optimization (c) 2008
xls2gdx,input=trnsport.xls,output=trnsport.gdx
Parameter;name=c;range=B4:E6;rdim=1;cdim=1
xls2gdx done
--- test1.gms(20) 3 Mb
--- GDXin=/home/erwin/workspace/gdxls/trnsport.gdx
--- test1.gms(23) 3 Mb
--- Starting execution: elapsed 0:00:00.186
--- test1.gms(23) 4 Mb
*** Status: Normal completion
--- Job test1.gms Stop 10/25/08 09:42:14 elapsed 0:00:00.188
erwin@erwin-desktop:~/workspace/gdxls$
---- 23 PARAMETER c gdxls range:B4:E6
new-york chicago topeka
seattle 2.500 1.700 1.800
san-diego 2.500 1.800 1.400