aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-04-23 19:54:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-04-23 19:54:54 -0300
commitf8783cfcfe7ebdb8e328e37322cf68d908f7e8f9 (patch)
treea140ae641b16de93003fcb06113abedb9b44519c
parent5ea22ca5698cdd16a8797ac5d8edb03817946c66 (diff)
downloadscripts-f8783cfcfe7ebdb8e328e37322cf68d908f7e8f9.tar.gz
scripts-f8783cfcfe7ebdb8e328e37322cf68d908f7e8f9.tar.bz2
ZTD: check for dangling files
-rwxr-xr-xztd7
1 files changed, 7 insertions, 0 deletions
diff --git a/ztd b/ztd
index 5610aba..7d3add8 100755
--- a/ztd
+++ b/ztd
@@ -15,6 +15,13 @@ elif ! git status &> /dev/null; then
status
todo
postponed
+
+ if [ ! -z "`ls -1 ~/load/`" ]; then
+ echo "Dangling files at ~/load:"
+ echo ""
+ ls -lh ~/load/
+ fi
+
exit
fi