Does it depends on the file sizes? I tried another folder and it worked with 35k files and then hanged.Often on Windows there is a message about Malfunctioning that refers to a file called a. Then edit metadata & file dates (if needed for proper sync), location, description, keywords, title, author with GraphicConverter 12 or sometimes with exiftool (movie metadata is a mess that needs. Then rename all files as YYY-MMDD-hhmm-ss. If 1) - not, what can be the reason else? 1.3 If the menu is not there, check the Plugin Manager. FWIW my workflow is to import images and movies via Mac's Image Capture.app.Does exec.Command has a limit of execution?.Have no idea how to check that.Īnother case: if i ignore the last broken file reading, the it stops on the next one.Īnd more over it works perfekt in debug mode. It looks like it runs out of memory, can it be? I see no problem in the system memory graph. This post will be an ever growing list of useful exiftool commands and scripts. If the make tag does match, then it will rewrite the tag to just be OLYMPUS. It is especially useful when you have a lot of pictures to edit and have no desire to change metadata by hand. 1 Answer Sorted by: 3 Your command would be exiftool -if 'Make/OLYMPUS /' -MakeOLYMPUS DIR This command takes the Make tag and performs a check to see if it matches the RegEx expression OLYMPUS (including the space at the end). I tried to run the same file in 10k loops. cheat sheet ExifTool by Phil Harvey is a fantastic tool to edit the exif metadata on your pictures. A command-line interface to Image::ExifTool, used for reading and writing meta information in a variety of file types. If set to NULL (the default), the function installs the Windows executable on Windows machines and the Perl library on other operating systems. If i understood correct io.WriteCloser has instance of exec.Command(binary, initArgs.).StdinPipe() I debugged go-exiftool and found that it hangs in on the line: This code is called 10k times in the loop, where the file is always different.Īfter the ~7k loops the program hangs. For example, you could add -ext txt -ext csv and exiftool will not process files with a CSV or TXT extension. I’m using one instance of the go-exiftool to get info for all required files. I am running this command to display a list of files with a value of 'rotate' contained in the -Orientation tag: exiftool -if 'orientation /rotate/i' -orientation. You could exclude file types with the -ext ( -extension) option, using two dashes instead of just one. I’m looping big ~10k files using go-exiftool.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |