This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# Batch rename | |
# Usage: dub image-X.jpg *.jpg | |
# | |
# - First argument is template for renaming | |
# - The "X" in the template will be replaced with zero-padded numbers | |
# (e.g., image-001.jpg, image-002.jpg, etc.) | |
# | |
# More examples: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import re | |
import codecs | |
import requests | |
import bs4 | |
# Change these | |
year = 2013 |
OlderNewer