Skip to content

Instantly share code, notes, and snippets.

View laromicas's full-sized avatar

laromicas

View GitHub Profile
#!/bin/bash
cat toprocess.txt | while read in; do
echo "$in";
done
while IFS= read -r in; do
echo "$in"
done < toprocess.txt
cat toprocess.txt | while read in; do ./gitealoader.py -U "$in"; done
# Find folders with more than one dat file:
find . -type f -iname '*.dat' -printf '%h\n'|sort|uniq -cd
# Find and delete empty folders:
find . -type d -empty -print -delete
# Pylint
pylint src --errors-only
pylint src --disable=all --enable=missing-function-docstring