ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Lanti on September 22, 2013, 06:00:19 PM

Title: List images by specific Metadata
Post by: Lanti on September 22, 2013, 06:00:19 PM
I have a folder with bunch of images. Some of them have Lightroom XMP metadata, some doesn't. Is it possible with ExifTool, to list the names OR move to new folder those files, which is have the specific metadata? In this case, XMP-crs?

For me, enough just to return the name (for example: pic1.jpg, pic2.jpg, aa.jpg, 34ds.jpg), because later on I can move those files to new location with Fundy Software: Image Finder.

If it's possible, can you tell me how to do this?
Title: Re: List images by specific Metadata
Post by: Phil Harvey on September 22, 2013, 08:17:48 PM
Here is a command that will move all files containing any XMP-crs tags to another directory:

exiftool -if "$xmp-crs:all" -directory=DSTDIR SRCDIR

where SRCDIR is the source directory name, and DSTDIR is the destination directory.

Note that the quoting above is for Windows.  Use single quotes instead of double quotes if you are on Mac or Linux.

- Phil
Title: Re: List images by specific Metadata
Post by: Lanti on September 23, 2013, 04:48:39 AM
Thank You very much!!!! :)