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
# This script syncs the /usr folder with your VM guest´s RPI_ROOT/usr | |
# Make sure to read @jvcleave´s RPI OpenFrameworks cross compiling guide. | |
# https://forum.openframeworks.cc/t/cross-compiler-for-of-0-9-0-jessie-arm6-rpi1/21336 | |
# | |
# Execute this from your RPI_ROOT folder. | |
# | |
# Useful commands related to cross compiling openframeworks (reminder) | |
# sudo /etc/init.d restart | stop | start | status | |
# sudo mount -a | |
# sudo umount /media/Data |
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
# Renames any .txt file to .fr.txt | |
# Change the lang.code according to your lang. | |
# I use it when switching monolang sites to multilang. | |
# cd to /your/site/content/ | |
# Test drive for renaming () | |
find ./ -type f -exec rename -n 's/\.txt$/.fr.txt/' '{}' \; | |
# Once you're sure, re-run without -n |