My homemade automation toolbox.
RSYNC with multi-threads parallelism and auto-retry.
$ python pfetch.py -azu user@server:/path fetch_list ./Get/Set geotags (GPS tags in EXIF) of photos. Requires piexif and PIL (pillow).
$ python GetGeoTags.py photo.jpg
$ python SetGeoTags.py 4.000000N 50.000000E 3.5 photo.jpgGet Linux kernel reported battery percentage in command line interface.
$ python battery_life.pyGenerates random password with specific length. Digits, lowercase letters and uppercase letters are included.
The following command returns a random password with 8 characters.
$ python genpasswd.py 8