mediadatasize

Started by audiogalaxy, April 24, 2020, 02:15:07 AM

Previous topic - Next topic

audiogalaxy

Hallo, in the following sample I expected to see the first file moved in a different directory called "size_problem" but this hasn't happened. I can't understand why.


DIR *.mov

3.217.271.416 202002065DK4_7169_C_c.mov
1.649.766.596 202002065DK4_7178_c.mov
1.569.653.527 202002065DK4_7178_C_c.mov
1.881.248.938 202002065DK4_7179_C_c.mov

exiftool -directory=size_problem -if "$mediatadasize# > 2000000000" -ext MOV -ext MP4 .




   1 directories scanned
    4 files failed condition
    0 image files read


I've tried with and without the # sign.
And have also checked:

exiftool -mediadatasize -ext MOV .

that gives:

======== ./202002065DK4_7169_C_c.mov
Media Data Size                 : 3217253881
======== ./202002065DK4_7178_c.mov
Media Data Size                 : 1649749100
======== ./202002065DK4_7178_C_c.mov
Media Data Size                 : 1569637118
======== ./202002065DK4_7179_C_c.mov
Media Data Size                 : 1881233409
    1 directories scanned
    4 image files read
--
Sorry for my halting English: I'm not a natural English speaker.
On a PC / windows commandline

Phil Harvey

"mediatadasize" ?

Check your spelling.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

audiogalaxy

--
Sorry for my halting English: I'm not a natural English speaker.
On a PC / windows commandline

StarGeek

(sorry, couldn't resist)

"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

Love Friends!  Unfortunately though, we completed watching all seasons just before the start of self-isolation. :(
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

audiogalaxy

--
Sorry for my halting English: I'm not a natural English speaker.
On a PC / windows commandline