ExifTool Forum

ExifTool => Newbies => Topic started by: emerrryjones on July 13, 2021, 11:20:00 PM

Title: Remove all short videos
Post by: emerrryjones on July 13, 2021, 11:20:00 PM
Hi everyone,

I'm trying to move short videos to another folder, less than 10 seconds. I was able to move files based on year and resolution, but the mediaduration is in hour:minute:seconds.  If I could somehow convert this to seconds, then just move everything less than 10 seconds to another folder, that'd be great!

I'm watching the videos on a PLEX server and in shuffle mode, I'm trying to get rid of all the really short videos, because I find them annoying.

Any help will be appreciated, this is some great software.

Thanks in advance!!!   ;D ;D ;D
Title: Re: Remove all short videos
Post by: StarGeek on July 13, 2021, 11:26:51 PM
See this thread (https://exiftool.org/forum/index.php?topic=9168.0).
Title: Re: Remove all short videos
Post by: Phil Harvey on July 14, 2021, 06:26:45 AM
The other thread never showed how to move the videos.  It is done by writing Directory, like this:

exiftool -if "$duration# < 10" -directory="SOME_FOLDER_NAME" DIR

- Phil