Skip to content

Instantly share code, notes, and snippets.

# -*- coding: utf-8 -*-
from PIL import Image
import os
import shutil
# exists src_dir/hoge.jpg, fuga.png, etc...
src_dir = "/Users/name/hoge/"
# create dst_dir/yyyymmdd/
dst_dir = "/Users/name/fuga/"