"Is it possible to import images to Lightroom using the command line?"
Not directly, but you could implement it using the LR plugin SDK to implement a plugin:
- The plugin has a URL handler that responds to URLs of the form:
lightroom://com.myname.myplugin/path1,path2,...,pathn
- The URL handler calls catalog:addPhoto() to import the files passed as arguments in the URL to the catalog.
- Use "curl" or "wget" to invoke the URL from the command line.
While this would only be about 20 lines of code, the learning curve for the SDK is steep, even for experienced programmers, more so if you don't know Lua or Scheme. The concepts above are discussed in the LR SDK Programmers Guide. Expect to take at least 6-10 hours minimum.