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
# Building the firmware | |
# https://nodemcu.readthedocs.io/en/master/en/build/ | |
# | |
# I used the Docker Image method | |
# https://hub.docker.com/r/marcelstoer/nodemcu-build/ | |
# 1) download the firmware | |
git clone --recurse-submodules https://github.com/nodemcu/nodemcu-firmware.git | |
# 2) Configure modules and features |
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
rename -n 's/\.JPG$/\.jpg/' * | |
# -n for testing... doesnt actually rename | |
rename -v 's/\.JPG$/\.jpg/' * | |
# -v, to be verbose, so you see what and how it is renamed | |
#one liner rename ordered files | |
ls | cat -n | while read n f; do mv "$f" `printf "%02d.wav" $n`; done |
NewerOlder