Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 68,071 of 68,980    |
|    =?UTF-8?B?SsO8cmkgVGFzdWph?= to Herbert Kleebauer    |
|    Re: move a fixed number of files between    |
|    05 Jul 23 04:43:03    |
      From: tarbija6@gmail.com              On Wednesday, 5 July 2023 at 14:05:33 UTC+3, Herbert Kleebauer wrote:       > On 04.07.2023 15:57, Jüri Tasuja wrote:        >        >        > > What I try to do is to move (sort) sets of images (3 images in each set)        > > to 2 different folder.       > Without giving any information how the 3 files of a set can be found,        > nobody can help. Do they have the same name but a different extension?        > Or is there a common prefix in the file name? Or is there only one        > set in the source directory?       > > Condition for moving is difference in file sizes %%z1 within these        > > 3 image sets. If image sizes differs less than e.g. 2 kB among any        > > of these 3 images then the set goes to one folder if else then to        > > other folder. Is anyone who could help on this? Many thanks!              Images are .jpg images from trail camera where camera was set to shoot 3       pictures in the row when activated. Camera saves all pictures in one folder.       Pictures have all different names e.g.        "E:\IMG_0001.JPG"       "E:\IMG_0002.JPG"       "E:\IMG_0003.JPG"       "E:\IMG_0004.JPG"       "E:\IMG_0005.JPG"       "E:\IMG_0006.JPG"       "E:\IMG_0007.JPG"       "E:\IMG_0008.JPG"       "E:\IMG_0009.JPG"       My thought was to somehow to store 3 images temporarily then compare their       sizes and then pass to right folder. At the moment images are sent straight to       the destination folder in the cycle.       To explain why I need such sorting is that many times trail camera is       activated by wind movement and it creates lots of "empty" images without       animals. These empty 3 image sets are usually very similar in size maybe       differing 1 or 2 kB and thus hopefully        possible to sort out by image size condition.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca