projects
/
cloudstore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e0d433
)
we are on COW fs (zfs) so always save to new file
author
Dobrica Pavlinusic
<dpavlin@rsync1.maxxo.com>
Wed, 11 Apr 2012 18:25:31 +0000
(20:25 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rsync1.maxxo.com>
Wed, 11 Apr 2012 18:25:34 +0000
(20:25 +0200)
This also has nice side-effect that we won't destroy last copy
if for some reason we can't generate new one
gearman/list_files
patch
|
blob
|
history
diff --git
a/gearman/list_files
b/gearman/list_files
index
4be8768
..
306b7e7
100755
(executable)
--- a/
gearman/list_files
+++ b/
gearman/list_files
@@
-6,6
+6,6
@@
while read path ; do
if [ -e $path/.meta/files ] ; then
cat $path/.meta/files
else
- find -L $path -printf "%y %s %p\n" | tee $path/.meta/files
+ find -L $path -printf "%y %s %p\n" | tee $path/.meta/files
.new && mv $path/.meta/files.new $path/.meta/files
fi
done