[Nottingham] Bash: test "file exists" - gotme again
gary
laccata at ntlworld.com
Thu Oct 14 14:50:31 BST 2004
On Thursday 14 October 2004 14:23, david wolfson wrote:
> while [[ -a "$filename" ]]; do
> filename=$basefilename$file_no.tif
> echo "processing file: "$filename
> file_no=$(($file_no + 1))
> done
maybe
filename=$basefilename$file_no.tif
while [[ -a "$filename" ]]; do
echo "processing file: "$filename
file_no=$(($file_no + 1))
filename=$basefilename$file_no.tif>
done
gary
More information about the Nottingham
mailing list