From d8dbad8ba2d8d014d0b0b9f3cfc3c4c62613129b Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Fri, 22 Jul 2011 11:51:11 +0200 Subject: [PATCH] Bug fixing. --- mvdatedir.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mvdatedir.sh b/mvdatedir.sh index 1b7d789..2bc58d2 100755 --- a/mvdatedir.sh +++ b/mvdatedir.sh @@ -28,8 +28,8 @@ while [[ "$1" ]]; do dir=$(date -r "$1" +%Y/%b) mkdir -p ${dir} mv "$1" ${dir} - shift else echo "Ignore: $1 is not a regular file." fi + shift done -- 2.39.5