pigsboss / toolbox

My homemade automation toolbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Toolbox

My homemade automation toolbox.

CopyGeoTags

Copy GeoTags from reference photos.

Syntax:

CopyGeoTags.py reference target [method]

reference is reference photo(s) (single file or directory), e.g., photos shot with your smartphone. target is photo(s) that require GeoTags, e.g., photos shot with your DSLR. method indicates the interpolation method, e.g., nearest, linear, cubic, which is optional (Default: LINEAR).

pfetch

RSYNC with multi-threads parallelism and auto-retry.

Examples:

$ python pfetch.py -azu user@server:/path fetch_list ./

GeoTag

Get/Set geotags (GPS tags in EXIF) of photos. Requires piexif and PIL (pillow).

Examples:

$ python GetGeoTags.py photo.jpg
$ python SetGeoTags.py 4.000000N 50.000000E 3.5 photo.jpg

Check battery in CLI

Get Linux kernel reported battery percentage in command line interface.

Example:

$ python battery_life.py

Random password generator

Generates random password with specific length. Digits, lowercase letters and uppercase letters are included.

Example:

The following command returns a random password with 8 characters.

$ python genpasswd.py 8

About

My homemade automation toolbox


Languages

Language:Python 90.7%Language:Shell 5.1%Language:Perl 3.4%Language:AppleScript 0.8%