projects
/
cloudstore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4be8768dc282d55ca9602daa484834901b7c918f
[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
10
fi
11
done