Mam dużo danych w formatach .grid i .text, na przykład:
20121201.grd
20121202.grd
..
..
..
201121231.grd
i również:
Result.2012.1201.txt
Result.2012.1202.txt
::
::
Result.2012.12.31.txt
Próbowałem już użyć poniższego polecenia, aby dopasować dane .grd i dane .txt. Umieszczam także dane .grd i dane .txt w tym samym folderze.
for n in *.txt
do echo "processing $n"
grdtrack "${n%.*}.txt" -G2012*.grd > "${n%.*}h.txt"
done
Ale niestety polecenie nie działa.
To jest wynik:
processing Result.2012.1205.txt
grdtrack: Could not find file [2012*.grd]
Czy jest ktoś, kto może mi pomóc?