Please can somebody explain where the info will be going when using :- and 2>&1
What would I need to write the data to a text file?
Looking on the web I only need the stdout and not the error?
Code: Select all
magick -ping image.CR2 XMP:-
This works in the command line and I get a list of the XMP data.
Also with one of my tests ( I can not remember which one now ) in php I had the last line of the file <?xpacket end="w"?> Thinking about it I had a similar problem doing something and each line of the data was overwriting the previous one. Although that could have been when I was working on some Pi code as I have been trying that out lately as well.