zsh-users
 help / color / mirror / code / Atom feed
* Command != command ???
@ 2005-07-24  5:42 Meino Christian Cramer
  2005-07-24 22:12 ` Philippe Troin
  0 siblings, 1 reply; 23+ messages in thread
From: Meino Christian Cramer @ 2005-07-24  5:42 UTC (permalink / raw)
  To: zsh-users

Hi,

 In the root of the directory tree, which is filled which snapshots
 from my digicam I submitted the command:

	  print **/*.jpg

 which printf out all filenames of my snaphots. FINE ! :)

 Then I wrote this script:

     #!/bin/zsh
	 # gather EXIF-data
	  
     if [ ! -d ./EXIF ]
     then
         mkdir ./EXIF ]
     fi    
     
     for i in **/*.jpg                       <<<---- line 7
     do
         echo "examine $i..."
         idx=0;
         fn=$(basename $i .jpg)
         fnex=${fn}.exif-${idx}.txt	
         while [ -f ./EXIF/${fnex} ]
         do
             idx=$(( idx + 1 ))
             fnex=${fn}.exif-${idx}.txt
         done
         jhead -v $i > ./EXIF/${fnex}
     done


  which I started from the same point, where I did my

	  print **/*.jpg

  but now, zsh said to me:

      ./mkexif.sh:7: no matches found: **/*.jpg

  ("mkexif.sh" is the name of the script, line 7 is marked)

 
  Do I have to less coffee in my head, or what is wrong here ? :O)
  I dont see the bug...but sure there is one, at least in front of
  my monitor.... ;O)

  Thanks for any help in advance !

  Have a nice sunday!
  Meino


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2005-07-27 18:24 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-24  5:42 Command != command ??? Meino Christian Cramer
2005-07-24 22:12 ` Philippe Troin
2005-07-24 23:22   ` Bart Schaefer
2005-07-25  3:06   ` Meino Christian Cramer
2005-07-25  3:32     ` Philippe Troin
2005-07-25  3:45       ` Meino Christian Cramer
2005-07-25  4:14         ` Philippe Troin
2005-07-25 16:06           ` Meino Christian Cramer
2005-07-25  3:54       ` Bart Schaefer
2005-07-25  4:15         ` Philippe Troin
2005-07-25 18:00   ` Meino Christian Cramer
2005-07-25 18:24     ` Philippe Troin
2005-07-25 18:53       ` Meino Christian Cramer
2005-07-25 19:20         ` Philippe Troin
2005-07-25 19:35           ` Meino Christian Cramer
2005-07-25 22:37             ` Philippe Troin
2005-07-26  0:33               ` Meino Christian Cramer
2005-07-26  2:21                 ` Philippe Troin
2005-07-26  4:20                 ` Sami Samhuri
2005-07-27 18:25                   ` Meino Christian Cramer
2005-07-26  5:07                 ` Bart Schaefer
2005-07-27  2:50                   ` Meino Christian Cramer
2005-07-26 10:28                 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).