ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: jjmz on May 14, 2022, 01:16:48 AM

Title: Sort video files less than a specified duration into a folder
Post by: jjmz on May 14, 2022, 01:16:48 AM
I am trying to sort video files less than 5s into a separate folder (Live Photos)

exiftool -if "$Duration# < 5" -Directory=live -ext mov .

does not seem to work.. What should I be doing instead?
Title: Re: Sort video files less than a specified duration into a folder
Post by: StarGeek on May 14, 2022, 11:00:21 AM
That would be the command.  If you're using Mac/Linux/PowerShell, change the double quotes to single quotes.
Title: Re: Sort video files less than a specified duration into a folder
Post by: jjmz on May 14, 2022, 11:33:32 AM
That was it.. Thanks!