Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
peripherals:camera:timelapse [2017/03/01 18:19]
admin [Convert / Modify images before combining]
peripherals:camera:timelapse [2017/03/01 18:52] (current)
admin [Convert / Modify images before combining]
Line 334: Line 334:
 Here is how to **batch convert multiple files** at once: Here is how to **batch convert multiple files** at once:
 <​Code:​bash|Multiple files conversion>​ <​Code:​bash|Multiple files conversion>​
-> for f in my_originals/​*.jpg ; do convert "​$f"​ -colorspace Gray -normalize "​my_converted${f%my_originals}" ; done+> cd my_originals/​ 
 +> for f in *.jpg ; do convert "​$f"​ -colorspace Gray -normalize "../my_converted/$f" ; done
 </​Code>​ </​Code>​