projects
/
cloudstore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
move create_user to perl API
[cloudstore.git]
/
gearman
/
list_files
1
#!/bin/sh
2
3
while read path ; do
4
echo `date +%Y-%m-%d.%H:%M:%S`" list_files [$path]" >&2
5
eval path=$path # expand ~
6
if [ -e $path/.meta/files ] ; then
7
cat $path/.meta/files
8
else
9
find -L $path -printf "%y %s %p\n" | tee $path/.meta/files.new && mv $path/.meta/files.new $path/.meta/files
10
fi
11
done