Advertisement
tonyrulez

kepmeretezo

Mar 25th, 2018
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.33 KB | None | 0 0
  1. #!/bin/bash
  2. mkdir eredeti
  3. cp *.{JPG,jpg,jpeg} eredeti
  4. for nagy in *.{JPG,jpg,jpeg}
  5. do kicsi=$nagy
  6. convert -resize 2048x2048 $nagy $kicsi
  7. done
  8.  
  9. EREDETI MENTÉSÉVEL
  10. ---------------------------------------
  11. EREDETI TÖRLÉSÉVEL
  12.  
  13. #!/bin/bash
  14. for nagy in *.{JPG,jpg,jpeg}
  15. do kicsi=$nagy
  16. convert -resize 2048x2048 $nagy $kicsi
  17. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement