pipidodo

Simple batch picture resize using ffmpeg.

Jun 20th, 2021
956
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #! /bin/bash
  2.  
  3. if [ -z "$2" ]; then
  4.               echo usage: $0 percentage location
  5.               exit
  6.           fi
  7.  
  8. for i in `ls $2`;
  9.     do
  10.     `convert $2/$i -resize $1% $2/$i`
  11.     done
RAW Paste Data