Hello.
How can I split a single command into multiple lines?
From
exiftool -progress: -progress -EXIF:Artist="Author" -EXIF:Copyright="Author" -IPTC:By-Line="Author" -IPTC:CopyrightNotice="Author" -XMP:Creator="Author" -XMP:Rights="Author" "-IPTC:ObjectName<Filename" "-XMP:PreservedFileName<Filename" "-XMP:CameraFilename<Filename" "-XMP:OriginalFileName<Filename" "-XMP:RawFileName<Filename" -EXIF:OffsetTime="+03:00" -EXIF:OffsetTimeOriginal="+03:00" -EXIF:OffsetTimeDigitized="+03:00" -ext cr2 .
to
exiftool -progress: -progress
-EXIF:Artist="Author"
-EXIF:Copyright="Author"
-IPTC:By-Line="Author"
-IPTC:CopyrightNotice="Author"
-XMP:Creator="Author"
-XMP:Rights="Author"
"-IPTC:ObjectName<Filename"
"-XMP:PreservedFileName<Filename"
"-XMP:CameraFilename<Filename"
"-XMP:OriginalFileName<Filename"
"-XMP:RawFileName<Filename"
-EXIF:OffsetTime="+03:00"
-EXIF:OffsetTimeOriginal="+03:00"
-EXIF:OffsetTimeDigitized="+03:00"
-ext cr2 .
On Mac/Linux, you can continue on the next line by putting a backslash at the end.
- Phil
But this is on Windows 10.
More of a Windows question, but my quick google search brought up this (https://stackoverflow.com/a/69079/3525475).
I soon realized that exiftool is helpless here, it depends on the command line shell. But I have already asked a question.
I didn't realize right away. I haven't used Exiftool for a long time.
Thanks anyway.