Skip to content

Instantly share code, notes, and snippets.

View dbswebsite's full-sized avatar

dbsinteractive dbswebsite

View GitHub Profile
@dbswebsite
dbswebsite / normalize.sh
Last active December 21, 2020 11:59
Normalize image filenames, recursively.
#!/bin/bash
#
# @file normalize.sh
#
# @requires the perl 'rename' utility
#
################################################################################
# force to lowercase
find . -iregex ".+\.\(jpe?g\|png\)" | rename 'y/A-Z/a-z/'

slow

This bash script offers quick shortcuts to simulate slower network connections. It is useful when you need to simulate a wireless network on Linux, especially when you are using a virtual machine guest on your local machine or in the cloud.

Example commands: