From 2c00c77d2a6c3026f4e95b0ec0e5b0a9afb9c918 Mon Sep 17 00:00:00 2001 From: Phillip Smith Date: Thu, 16 Mar 2017 09:37:39 +1100 Subject: [PATCH] add comment for future work --- ffiler.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ffiler.sh b/ffiler.sh index 9305afc..009365f 100755 --- a/ffiler.sh +++ b/ffiler.sh @@ -216,6 +216,10 @@ main() { # a directory, and the user wants us to recurse! # TODO: this is not proper recursion, but I'm in a rush today # this needs to actually descend into child directories + # also, we need to consider that the output directory may + # be a child of the source directory, in which case doing proper + # recursion could end up re-processing files that are already + # sorted in previous runs. dont know how to deal with that. cd "$fname" for C in $(ls "$fname/") ; do [[ ! -f "$C" ]] && continue