Skip to content

Instantly share code, notes, and snippets.

View motorollerscalatron's full-sized avatar
🏠
Working from home

Masahiro Iwasaki motorollerscalatron

🏠
Working from home
View GitHub Profile
@motorollerscalatron
motorollerscalatron / rename_flickr_photos_for_ffmpeg.sh
Last active January 15, 2016 11:55
renames photos uploaded from smartphone using flickr uploader to numerically ordered file names for ffmpeg.
#
# preparation:
# download all flickr photo files from a certain album from flickr.
# it may be separated into a few zip files,
# so be sure to expand all of them into the same folder
# move to the image folder
#1. rename jpeg files named like kimg2150_23977558372_o.jpg
# This can be applied to image files with some ordered numbers somewhere in file name.
# (change initial values and substring offsets)