Merge branch 'master' of waschsauger.bl0rg.net:dirty-helpers

master
neingeist 6 years ago
commit 839553c240

@ -0,0 +1,13 @@
#!/bin/sh
# Show dirty git repos
for d in */; do
(
cd $d
status=`git status -s 2>/dev/null`
if [ $? -ne 0 -o -n "$status" ]; then
echo "== $d"
git status -s
fi
)
done

@ -3,6 +3,6 @@
LARGE=${1:-100M}
WHERE=`mount -t ext2,ext3,ext4,btrfs,ntfs,reiserfs,xfs,zfs | awk '{ print $3 }'`
IGNORE='^(/var/lib/rpm/Packages|/home/.*/.btsync/.*\.db)$'
IGNORE='^(/var/lib/rpm/Packages|/home/.*/.btsync/.*\.db.*|.*/objects/pack/pack-.*\.pack|.*/\.recoll/xapiandb/.*\.DB)$'
sudo find $WHERE -xdev -size +$LARGE | grep --line-buffered -Ev "$IGNORE"

Loading…
Cancel
Save