projects
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14dd9b5
)
Bug fixing.
author
Francois Fleuret
<francois@fleuret.org>
Fri, 22 Jul 2011 09:51:11 +0000
(11:51 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Fri, 22 Jul 2011 09:51:11 +0000
(11:51 +0200)
mvdatedir.sh
patch
|
blob
|
history
diff --git
a/mvdatedir.sh
b/mvdatedir.sh
index
1b7d789
..
2bc58d2
100755
(executable)
--- 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