Advertisement
Guest User

Untitled

a guest
Jun 20th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.39 KB | None | 0 0
  1. @echo off
  2. Title Auto Export
  3. :loop
  4.  
  5. for /R %%f in (*.mp4) do  (
  6.  
  7. mediainfo --inform="Video; %%Width%%"; *.mp4 >> resolution.txt
  8.  
  9. )
  10.  
  11. findstr /n /c:" 1280 !CR!*!LF! 1280 !CR!*!LF! 1280 !CR!*!LF! 1280" "resolution.txt"
  12.  
  13. echo No .mp4 files or download not complete
  14.  
  15. if %errorlevel% == 0 robocopy "G:\Film" "M:\DVSMEDIA\18 CFL" /mov /xf filename.txt  /xf AutoExport.bat
  16.  
  17. timeout /t 5
  18. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement