Dateformat in Lightroom database?

I'm not familiar with SQLite and I can not find out how to extract a readable date and time from the database. I'm especially looking into the table Adobe_imageFiles and the columns externalModTime and ModTime.

Pretty certain there's no built in function like Cast for example, but do google for "converting Cocoa dates".
You're probably going to have to write a formula. That could be something in the SQL and I'd expect it to be quite complex. Alternatively I'd connect the SQLite database via ODBC to something like MS Access, then write a VB custom function.
I think there was one other thread on this issue a while back.
John

Similar Messages

  • Multiple Backup Locations for Multiple Lightroom Databases

    I currently work with two lightroom databases but when I back up the databases, the backups get stored in the same Lightroom Backups folder. The two backups are stored in separate sub-folders but the actual database files have the same name. Thus, the only way to know which backup is for which database if to note the times that the backups were created and use this to determine which backup applies to which database.
    It would seem like the actual backup files could be named as per the associated database or the backup location could be specified for each database so that there is less chance for a mistake if a database needs to be restored.
    Thanks in advance,
    Dave Mayfield

    Thanks for your reply.
    I need the have each LOS ( Location of sale or location of delivery) of Business Partner because we will deliver items for the LOS and not for BP.
    As we also need to control (serial numbers) items & services ( field management) I also need to have the LOS as BP.
    As example:
    BP name AAA have 30 LOS.
    BP AAA bought 2000 items.
    BP AAA ask us to old theses items in warehouse.
    BP AAA request to delivery a x quantity in LOS 1, 2,3,4,...
    The invoice went to BP AAA, but the deliveries will be to each LOS of BP AAA.
    As I said we need to have the field services working side-by-side with serials numbers and services for each LOS of our BP AAA.
    So, we have subcustomers from big customer BP AAA.
    Do we have any way of having all subcustomers(LOS) as BP, along with the real customer AAA?
    Thanks in advance,

  • Lightroom database - batch assign a keyword

    I would like to take a list of images (text file) and tag all of them with a keyword.  As an example, let's say my client just gave me a list of pictures for an album and the picture numbers correspond to a file name (0001.jpg, 0003.jpg).  How can I feed that list to lightroom and assign a keyword to both images.  I'm not looking for a manual solution.  Can I update the lightroom database using a third party SQL tool or is there a way to do this in lightroom.

    Simply select them in LR, add the keyword.
    If the real problem is selecting them using the text file list, you can cut and paste the list into a smart collection's criterion.

  • How to restore a previous version of lightroom database

    I messed up and mistakenly removed an image from lightroom ... is there any way to recover that version of the image that was in the lightroom database via a restore process? I've been backing up the database each time I start the program. Thanks.

    If you have now found the mislocated database file the simplest method would be to copy and paste it into the location that you really want it. Once in the new location, double click it and LR will open up (as if by magic) or, alternatively, start up LR and point it to this database location. The image that you then accidently removed from LR should show up in Red in the left hand panel and in addition a thumbnail image of your image will appear in the main window with a question mark in the top right hand corner. Click on this question mark and point LR in the direction of where the image is located. All then will be fine and your image will still have any previous edits applied that were contained in the database. The 'preview' file that you found and mentioned in your post contains as you might have guessed - the image previews. This file can be deleted at any time and LR will rebuild it as and when required.
    To prevent this happening in the future, select carefully where you want the database backed up to and LR will then always backup to this location unless you change it - which is what I suspect you may have done accidently last time around, hence database backups in two different places.

  • Screensaver that uses Lightroom database

    Hi,
    I would like to request a screen saver be developed that uses the Lightroom database to display the photos. It would take into account adjustments made to the photos, rotate accordingly and would read them directly from the source files (Canon RAW, JPEG and TIFF etc).
    Included in this would be the ability to filter be collection, rating or perhaps introduce a new 'screensaver' flag against an image.
    Another related export option within Lightroom might be to export a windows screen saver (scr file I think) from the Slide show screen. Although this option would give a professional photographer another option in product format to sell, I personally would like the before-mentioned (probably external) program developed over this feature.
    Thanks,
    Jason

    Hi guys,
    I'm happy to announce LrSaver (http://www.lrsaver.com/) - The Lightroom Screensaver Addon!
    LrSaver provides many features, such as:
    Selection of images according to any meta-data fields by utilizing Smart Collections (or by using rating).
    Utilization of Lightroom image cache which enables:
    Low CPU & RAM utilization
    Accurate display exactly as by Lightroom itself.
    No need for the actual images to be accessible during slideshow (e.g. if stored on external/remote storage).
    Arrow keys to move between images during slideshow
    Check http://www.lrsaver.com/ for more information.
    Cheers,
    Nir

  • Where is the Lightroom database?

    I wonder whether it is correct that I have the following folders in my D:/drive:
    D:/Adobe
    - Lightroom 1.0
    - Adobe Photoshop Lightroom
    - documentation
    D:/ My Pictures
    - Lightroom
    - Backups
    - Lightroom CatalogPreviews.Irdata
    - Lightroom Metadata.Irdata
    (file) Lightroom Catalog (Ircat file)
    I can not locate the original Lightroom Data base. There are data bases in the backups.

    Lee,
    Thanks for your reaction.
    I was confused by the fact that on June 28 this file was called a LRDB and on July 6 a LRCAT, I assume because I updated to LR 1.1.
    * However I still wonder where I can locate the "Lightroom Database.lrdb.lock", which is referred to in the TechNote?
    I Have LR with 1.1 running on laptop with Windows XP.
    Plan to also place L.R. 1.1 on a new desktop with Vista Home Premium.
    * Can I install LR 1.1 by using the CD with LR program and thereafter update to 1.1?
    In D:/My pictures/Lightroom I have the following sub folders:
    Backups
    Lightroom Catalog Previews.Irdata.
    Lightroom Metadata.Irdata
    Lightroom catalog
    * Do I just copy: D:/My pictures/Lightroom with its 4 sub folders to D:/ on the new PC?
    Thanks in advance for your help!

  • Can I delete early versions of "Lightroom Database 2 Preview.lrData

    Can I delete previous versions of "Lightroom Database-2 Previews.lrData

    Thank you, Jim!
    Just to clarify--I was puzzled upon first reading your "No".    However, upon reading further, I now will happily delete the old programs. (2.667 GB!).  It was interesting to see the size increase for each one--from 207MB (3.4) to 780MB for 4.4....  The Control Panel (Win7HP) only lists 4.4, so I'll have to delete the old programs up to & including 4.3.
    Your quick response was very much appreciated!
    =================================================================
    I thought I could do the same with my other Adobe program files, but only the CS6 programs are listed.  Does this mean the previous files are automatically deleted when upgrading?  

  • Moving Lightroom Database.lrcat  to a diferent location

    I think I have looked everywhere to find an answer to my problem I created too many libraries and it is very difficult to find my images. Now that I understand how LR works I understand the big mistake I made is there a way to export Lightroom Database.lrcat and create a new library without loosing all the info. that I have created?
    I understand also that one should not have more than 10 thousand images per library is this correct? So I would have to create very specific libraries (ej: personal, architectural, portraits etc.)

    Ricardo-
    I think the answer is yes, but I'd like to be clearer on what your questions are first.
    If you are thinking of combining several Libraries, perhaps on a new external drive, you can do so with no loss of anything.
    But do outline a bit more what your situation is.

  • Lightroom database size limit?

    Is there anything that may limit the size of a Lightroom catalog (like in iView)? It's not a problem I'm having, just wondering what happens when my 50k image collection grows to 200k or more. Will there ever be a NEED to maintain more than one catalog file, or is that not necessary with the way Lightroom is built?

    My Mac 10.5.4 LR 1.4.1 has 140,000 records that have had 1.5 million keyword indexes imported and several hundred thousand captions imported and it functions fairly well in routine Imports, Edits, Exports, Web Gallery production, etc.. The .lrcat file is about 2GB.
    The Mac Pro is a 3GHz Intel Quad with 10GB RAM and 12 750GB Seagates.
    Backups used to take 15 minutes, but I think they are down to about 2 minutes with v1.4.1.
    It gets very sluggish doing updates to keywords or captions and the search is horribly slow. Lots of spinning color wheels and application hangs when in this turf.
    I am SO HOPING v2 functions like most other database applications. It's just a database of thumbnails and some data. 140k records should FLY doing a Boolean search.

  • Deleting ALL keywords from Lightroom database?

    Hi, gang. I've been playing around with Lightroom and Bridge and I've realized that I got very deep into adding keywords in Lightroom but that I would much rather add them in Bridge, then import them into Lightroom. The problem is that I now have amassed a huge number of keywords that migrate into Bridge and that are time-consuming to change. I'd rather just delete every keyword in Lightroom at once, then re-create them in Bridge, and THEN import them into Lightroom.
    So, does anyone know if Lightroom has one specific file that it stores in a folder somewhere that I can just delete? If I have to go through and delete each keyword one at a time, I'll just uninstall Lightroom and reinstall it (unless there's also a way to dump my whole database and start again).
    Thanks for the help!
    -A

    >Does this not need confirmation on each keyword as you delete it?
    He's been polishing his crystal ball again ;-)
    The dialog will probably tell you that keyword X will be deleted from Y photos and give you the option to Cancel or Delete All. Chose Delete All and ALL selected keywords will be deleted. The dialog is either presenting the wrong info about what will be deleted or is deleting everything when it shouldn't. Strangely, had there been 100 selected keywords then you would need to hit Cancel 100 times.

  • How do I retrieve lightroom database?

    Lightroom 3 was shutting down unexpectantly and from an advice at this forum I moved the preferences folder to the desktop (from the library)
    the lightroom opened allright but was completely empty, how do I retrieve the database. I couldn´t save catalogues because it always shut down before I could do anything.
    Please help, am in dire straits here. need photos that were numbered and processed to work with.

    You have to find your most recent catalog. The unexpected shutdown would have prevented LR to write the most recent changes to the catalog but these would be only a few. LR writes changes into the catalog without you having to <save>.
    There are two ways to open your most recent catalog:
    a) if you know where your catalog is on the hard drive, open LR - it will come up empty - and go >File >Open catalog. Then navigate to your catalog and click on it.
    b) If you do not know where your catalog is you have to find it - in Mac Finder or Win Explorer.
    The catalog is the file with the ending <... .lrcat>. See here where you will find the catalog for different OS: http://kb2.adobe.com/cps/843/cpsid_84313.html
    When you have found the .lrcat file just double-click it and LR will open with it.
    LR will rebuild the preference file on its own but you might have to set your preferences again in >Edit >Preferences.
    It is generally a good idea to know where LR puts the catalog. Go >Edit >Catalog Settings >General tab and this will show you the location - provided that LR has opened with a catalog.
    Also, it is a good idea to have a backup catalog. Go  >Edit >Catalog Settings >General tab and at the bottom select <Every time LR exits>. Next time you close LR the backup dialog will come up that lets you choose a backup location.
    WW

  • Lightroom Database Accessable Outside Lightroom?

    Hi -
    I am thinking of creating a quick application to track my photo sales and I would like to be able to take advantage of the data that is already in Lightroom. My questions are: 1) what is that database tool e.g., Sql... that Lightroom uses or is a proprietary database? And, can the data be accessed by other programs and if Yes, how?
    Thanks - Cathy

    There's an opensource ODBC driver for SQLite.

  • Lightroom database performance

    I've been using Lightroom for a few weeks now and generally find it very convenient. Performance is OK in the 'Development' module. Yet when I add or change keywords to an an image, the program is busy for several minutes (yes, even when I add only _one_ keyword to _one_ single image).
    On another forum someone suggested that there must be something wrong with the database, so I started one from scratch again. Still the same problem.
    Does anyone have an idea what could be wrong here ? I'm running Windows XP SP2 on a 1.8 GHz Pentium with 1 GB of RAM.
    Many thanks in advance
    Carsten

    Keywords are critical to any photographer managing his library.
    If it takes any percept-able amount of time to add a single keyword, that's unacceptable. This is my biggest problem with LR.
    We have around 25k images, and we just started building our keyword library (<30 total). it takes 20 seconds to add one keyword. In my opinion, this is bogus. With today's hardware, adobe should be able to write a 6 character string to a property on a file in less than 20 seconds.
    I understand the issue with keywords and related keywords from a database perspective. I'm not an expert. But I've written code to manage keywords.
    This product is billed as a workflow enhancer. Adding keywords to a photo is a key aspect of that workflow.
    Adobe MUST fix this problem !
    The problem is LR is trying to do the whole process at once, taking up all the cpu cycles for stuff that doesn't make sense in the workflow
    My suggestion:
    - write the info to the files as fast as possible.
    - use a background process at a lower priority to update the database in the order it would be most useful.
    1. basic filtering off the GUI
    2. advanced search filters
    - optimize the database last in a way background process.
    Current operation is totally unacceptable. I am going to get my money back for my product...then watch the forums for an update on this issue....

  • Syncing Lightroom Database w/ External Changes

    Does anyone know how to set lightroom to recognize changes that are made outside lightroom?
    For example If I delete 10 files in Windows Explorer, and rename 20 others with Windows Explorer will it automatically scan/monitor/recognize these changes?
    How can I enable this? I've delete some files outside LR and it still shows me the 1:1 previews of the delete files, and doesn't realize I've renamed the folder as well.
    Thoughts? Thanks!

    Schlager,
    LR is a database-driven application. It doesn't know what goes on outside of its database unless you tell it to go look. There are ways to do just that. For example, the sync function was mentioned above for syncing LR with changes made outside of it. However, it's usually easier and faster to make such changes inside of LR because that way you don't have to take the time to sync after you've made changes in some other application. LR launches pretty fast (6 seconds for me).
    If you make folder or filename changes within LR, they are reflected in the operating system, and thus you'll see them in Windows Explorer immediately, just as John said.
    There are some disadvantages to a database drive application, but numerous advantages too. For example, try searching through 50,000 images in Windows explorer (for a filename, for example) and then waiting for all the matching images to come up and get thumbs. In LR, that takes under 3 seconds. Now try searching for all images shot with a particular lens, in a particular date range, or at a particular location. Again, in LR this takes just a couple of seconds, while it's really hard to do at all using basic Windows tools.

  • Import or Merge Lightroom Databases

    Hi,
    I have Lightroom both on my PC and my Laptop and am looking for a way to get these two in sync. Is there any way that I could import the database from my Laptop into the one on my PC?
    Thanks and regards, Robert

    John is right. For a in-depth description, as well as a step-by-step exposition, check out Martin Evening's excellent coverage in the Photoshop Lightroom book. An update to the book is available as a PDF on the Lightroom-News web site
    http://lightroom-news.com/2007/06/26/the-adobe-photoshop-lightroom-11-update/.

Maybe you are looking for