So try posting that if you'd like to avoid the "duplicate then tag" workflow. This would probably be easier to troubleshoot if you uploaded the macro, rather than an image of just a part of it - and, ideally, one that used the native KM action rather than a plugin. Why is the error reporting a different path to the one you've given it? Why does the prompt show micha in the bit that usually shows the short username while the user home directory (which usually matches the short username) is michaelschwaiger? But for all I know that might be down to the plugin you are using.Īlso, the quotes look a bit wrong - I'd expect the first argument to be -keywords="TESTKEYB". ExifTool has been tested with a wide range of different images, but. An error you can see is: File not found: Fto.jpg or whatever filename you have. The bit that worries me from your OP is MBP-2021:~ micha$ km1='/Users/michaelschwaiger/Downloads/File1.jpg' /usr/local/bin/exiftool "-keywords=TESTKEYB" "$km1"Įrror: File not found - /Users/micha/Downloads/File1.jpg ExifTool will not rewrite a file if it detects a significant problem with the file format. System.file(package="yourgolemname","app","Is it instead of system2()? Or before system2()? Or once I've loaded the app but before run_app()?Īdditionally, my package name (for now) is sdApp, and the R Project is called sd_package_v3.0 I assume that I do package='sdApp'?īeta Was this translation helpful? Give feedback.Thanks for your hints, unfortunately I didn't manage to find the right hints for me in the forum, or with the help of the built-in action to execute shell scripts to solve my problem. Vincent at ThinkR said "once your golem is installed, a file localised in inst/app/www/exiftool will be available with Then, I actually call that command with rcd<-system2(rename_cmnd). The library provides the class exiftool.ExifTool that runs the command-line tool in batch mode and features methods to send commands to that program, including methods to extract meta-information from one or. Rename_cmnd <- paste("inst/app/", input$selectedBatch, sep = "”) where input$selectedBatch, new_folder, and vals$pcode are user-input values. PyExifTool is a Python library to communicate with an instance of Phil Harvey’s ExifTool command-line application. The segment using exiftool is currently written as such: The part that runs exiftool through system2() work as an R project, but not in golem it displays the error “ exiftool not found.” If a specified tag does not exist, a minor warning is issued and the line. The parts of the app that use exifr work fine when the app is in the form of a standard R project and after it was converted to a golem app. A command-line interface to Image::ExifTool, used for reading and writing meta. Incidentally, this also confirms that my path is correct. For the string in Shell() for exiftool, one would use the full drive:path. But now, I am using the package for other. .ExifTool returns all the Exif data for my test image including an in-tact 'Date Created' field. I can only guess at why your Shell() command failed since you did not post code. It uses a combination of the exifr package and exiftool (run through a system2() call). Dec 14, 2017, 8:44:07 PM to camtrapR Hi everybody, I hope you can help me I used camtrapR a few months ago and I had not any problem with exiftool. The app is run locally on the user’s computer rather than on a shiny server, and it has the user install Strawberry perl in order to utilize exiftool. Just download and un-zip the archive then double-click on exiftool(-k).exe to read the. It renames them based on the photo UserLabel (the camera ID) and the date and time that the photo was taken. The message I get from windows 10 as I gave my first command is: 'Exiftool is not recognized as an internal or external command, operable program or batch file. The stand-alone Windows executable does not require Perl. The app is used for copying photos from SD cards to hard drives and renaming the photos once they have been copied to the hard drive. FILEis one or more source file names, directory names, or '-' for the standard input. I am in the process of converting an existing shiny app into a golem shiny package. DESCRIPTION A command-line interface to Image::ExifTool, used for reading and writing meta information in a variety of file types.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |