This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Data file access on different path (drive)
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 23 Nov 2015 11:18:59 +0100
- Subject: Re: Data file access on different path (drive)
- Authentication-results: sourceware.org; auth=none
- References: <CAE3taFBySrYf7=ZCadpe=dZtZaXmhhf5RnYtmndUd1eGa1x6XQ at mail dot gmail dot com> <5652D4DE dot 8060206 at gmail dot com> <CAE3taFBqKEesOj1md6N5u6=3ghFrA-yDuRsBbQTPGinch1BCjQ at mail dot gmail dot com> <5652E35B dot 8090006 at gmail dot com> <CAE3taFBXjfzGcrgOTUsiqhi0ULrEt9MXj+qEMU5DfFZ7nLUiqw at mail dot gmail dot com>
On 23/11/2015 11:11, Lester Anderson wrote:
Tested the change:
ruta_elev="/cygdrive/q/geophys/Potential-field
datasets/Topography/topo_17.1.img"
ruta_grav="/cygdrive/q/geophys/Potential-field datasets/Gravity/grav.img.23.1"
No errors reported for the path but..
$ bash test4.sh
-12 0 28 39
img2grd: Syntax error: More than one world image file name given.
img2grd: Syntax error: More than one world image file name given.
There are only one file to read in each directory as listed in the
path so not sure why it is confused!
there is a space in the path, so bash see two separated names
ruta_grav="/cygdrive/q/geophys/Potential-field
datasets/Gravity/grav.img.23.1"
try renaming the directory from
"Potential-field datasets" to "Potential-field_datasets"
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple