[email protected] schrieb am Sonntag, 19. September 2021 um 17:06:46 
UTC+2:

> When i try exittols command 
> exiftool -p 
> "y${Filename;s/DJI_//;s/\..*$//;$_-=1;}=$CameraYaw,p${Filename;s/DJI_//;s/\..*$//;$_-=1;}=$CameraPitch,r${Filename;s/DJI_//;s/\..*$//;$_-=1;}=$CameraRoll"
>  
> -ext jpg . >pos.txt
>
> I obtain this error
> bash: 
> y${Filename;s/DJI_//;s/\..*$//;$_-=1;}=$CameraYaw,p${Filename;s/DJI_//;s/\..*$//;$_-=1;}=$CameraPitch,r${Filename;s/DJI_//;s/\..*$//;$_-=1;}=$CameraRoll
>  
> : Bad substitution
>
> My version exiftool installed is 11.88 perhaps it's to old
>

On Linux you need to swap double quotes with single quotes. So try
exiftool -p 
'y${Filename;s/DJI_//;s/\..*$//;$_-=1;}=$CameraYaw,p${Filename;s/DJI_//;s/\..*$//;$_-=1;}=$CameraPitch,r${Filename;s/DJI_//;s/\..*$//;$_-=1;}=$CameraRoll'
 
-ext jpg . >pos.txt

If this works, then modify the assistant file in the same way. The line 
should now read
Arguments=-p 
'y$FileSequence=$CameraYaw,p$FileSequence=$CameraPitch,r$FileSequence=$CameraRoll'
 
-w+! %0fpos.txt -@ %imagelist%

Thomas

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/e2e7701e-0f84-46db-883a-71013688cae8n%40googlegroups.com.

Reply via email to