From 3a1f009c1ad281f37a7643b32a63057dd9c2a16e Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Fri, 4 Jun 2021 22:16:41 +0200 Subject: Add contrib/atomicrename $ ./contrib/atomicrename/atomicrename -h atomicrename creates 100 "src" files in the current directory, renames them in random order over a single "dst" file while reading the "dst" file concurrently in a loop. Progress and errors are reported as they occour in addition to a summary printed at the end. cifs and fuse filesystems are known to fail, local filesystems and nfs seem ok. See https://github.com/hanwen/go-fuse/issues/398 for background info. --- build.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.bash') diff --git a/build.bash b/build.bash index 427edfd..627a31d 100755 --- a/build.bash +++ b/build.bash @@ -94,7 +94,7 @@ fi # Actual "go build" call for gocryptfs go build "-ldflags=$GO_LDFLAGS" "$@" # Additional binaries -for d in gocryptfs-xray contrib/statfs contrib/findholes ; do +for d in gocryptfs-xray contrib/statfs contrib/findholes contrib/atomicrename ; do (cd "$d"; go build "-ldflags=$GO_LDFLAGS" "$@") done -- cgit v1.2.3