From 6bc1bc542fce2ee87b0b6000e64f032bd5ecee28 Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 26 Nov 2022 19:53:41 +0000 Subject: [PATCH] rename copyparty-fuse to partyfuse --- README.md | 4 ++-- bin/README.md | 10 +++++----- ...yparty-fuse-streaming.py => partyfuse-streaming.py} | 0 bin/{copyparty-fuse.py => partyfuse.py} | 0 bin/{copyparty-fuseb.py => partyfuse2.py} | 0 contrib/README.md | 2 +- docs/rclone.md | 4 ++-- scripts/copyparty-repack.sh | 4 ++-- scripts/fusefuzz.py | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) rename bin/{copyparty-fuse-streaming.py => partyfuse-streaming.py} (100%) rename bin/{copyparty-fuse.py => partyfuse.py} (100%) rename bin/{copyparty-fuseb.py => partyfuse2.py} (100%) diff --git a/README.md b/README.md index c0a3febd..3fc20dc2 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ recommended additional steps on debian which enable audio metadata and thumbnai * download * ☑ single files in browser * ☑ [folders as zip / tar files](#zip-downloads) - * ☑ [FUSE client](https://github.com/9001/copyparty/tree/hovudstraum/bin#copyparty-fusepy) (read-only) + * ☑ [FUSE client](https://github.com/9001/copyparty/tree/hovudstraum/bin#partyfusepy) (read-only) * browser * ☑ [navpane](#navpane) (directory tree sidebar) * ☑ file manager (cut/paste, delete, [batch-rename](#batch-rename)) @@ -1124,7 +1124,7 @@ a remote copyparty server as a local filesystem; some alternatives roughly sort * [rclone-http](./docs/rclone.md) (25s), read-only * [rclone-webdav](./docs/rclone.md) (51s), read/WRITE * copyparty-1.5.0's webdav server is faster than rclone-1.60.0 (69s) -* [copyparty-fuse.py](./bin/#copyparty-fusepy) (71s), read-only +* [partyfuse.py](./bin/#partyfusepy) (71s), read-only * [win10-webdav](#webdav-server) (138s), read/WRITE * [win10-smb2](#smb-server) (387s), read/WRITE diff --git a/bin/README.md b/bin/README.md index 4ed2e2ca..f69dd40a 100644 --- a/bin/README.md +++ b/bin/README.md @@ -11,7 +11,7 @@ produces a chronological list of all uploads by collecting info from up2k databa * optional mapping from IP-addresses to nicknames -# [`copyparty-fuse.py`](copyparty-fuse.py) +# [`partyfuse.py`](partyfuse.py) * mount a copyparty server as a local filesystem (read-only) * **supports Windows!** -- expect `194 MiB/s` sequential read * **supports Linux** -- expect `117 MiB/s` sequential read @@ -30,19 +30,19 @@ also consider using [../docs/rclone.md](../docs/rclone.md) instead for 5x perfor * install [winfsp](https://github.com/billziss-gh/winfsp/releases/latest) and [python 3](https://www.python.org/downloads/) * [x] add python 3.x to PATH (it asks during install) * `python -m pip install --user fusepy` -* `python ./copyparty-fuse.py n: http://192.168.1.69:3923/` +* `python ./partyfuse.py n: http://192.168.1.69:3923/` 10% faster in [msys2](https://www.msys2.org/), 700% faster if debug prints are enabled: * `pacman -S mingw64/mingw-w64-x86_64-python{,-pip}` * `/mingw64/bin/python3 -m pip install --user fusepy` -* `/mingw64/bin/python3 ./copyparty-fuse.py [...]` +* `/mingw64/bin/python3 ./partyfuse.py [...]` you could replace winfsp with [dokan](https://github.com/dokan-dev/dokany/releases/latest), let me know if you [figure out how](https://github.com/dokan-dev/dokany/wiki/FUSE) (winfsp's sshfs leaks, doesn't look like winfsp itself does, should be fine) -# [`copyparty-fuse🅱️.py`](copyparty-fuseb.py) +# [`partyfuse2.py`](partyfuse2.py) * mount a copyparty server as a local filesystem (read-only) * does the same thing except more correct, `samba` approves * **supports Linux** -- expect `18 MiB/s` (wait what) @@ -50,7 +50,7 @@ you could replace winfsp with [dokan](https://github.com/dokan-dev/dokany/releas -# [`copyparty-fuse-streaming.py`](copyparty-fuse-streaming.py) +# [`partyfuse-streaming.py`](partyfuse-streaming.py) * pretend this doesn't exist diff --git a/bin/copyparty-fuse-streaming.py b/bin/partyfuse-streaming.py similarity index 100% rename from bin/copyparty-fuse-streaming.py rename to bin/partyfuse-streaming.py diff --git a/bin/copyparty-fuse.py b/bin/partyfuse.py similarity index 100% rename from bin/copyparty-fuse.py rename to bin/partyfuse.py diff --git a/bin/copyparty-fuseb.py b/bin/partyfuse2.py similarity index 100% rename from bin/copyparty-fuseb.py rename to bin/partyfuse2.py diff --git a/contrib/README.md b/contrib/README.md index 650ab6bb..c18e2b4a 100644 --- a/contrib/README.md +++ b/contrib/README.md @@ -27,7 +27,7 @@ however if your copyparty is behind a reverse-proxy, you may want to use [`share ### [`explorer-nothumbs-nofoldertypes.reg`](explorer-nothumbs-nofoldertypes.reg) * disables thumbnails and folder-type detection in windows explorer -* makes it way faster (especially for slow/networked locations (such as copyparty-fuse)) +* makes it way faster (especially for slow/networked locations (such as partyfuse)) ### [`webdav-basicauth.reg`](webdav-basicauth.reg) * enables webdav basic-auth over plaintext http; takes effect after a reboot OR after running `webdav-unlimit.bat` diff --git a/docs/rclone.md b/docs/rclone.md index 91460dfc..cd3fd6e5 100644 --- a/docs/rclone.md +++ b/docs/rclone.md @@ -4,10 +4,10 @@ speed estimates with server and client on the same win10 machine: * `1070 MiB/s` with rclone as both server and client * `570 MiB/s` with rclone-client and `copyparty -ed -j16` as server * `220 MiB/s` with rclone-client and `copyparty -ed` as server -* `100 MiB/s` with [../bin/copyparty-fuse.py](../bin/copyparty-fuse.py) as client +* `100 MiB/s` with [../bin/partyfuse.py](../bin/partyfuse.py) as client when server is on another machine (1gbit LAN), -* `75 MiB/s` with [../bin/copyparty-fuse.py](../bin/copyparty-fuse.py) as client +* `75 MiB/s` with [../bin/partyfuse.py](../bin/partyfuse.py) as client * `92 MiB/s` with rclone-client and `copyparty -ed` as server * `103 MiB/s` (connection max) with `copyparty -ed -j16` and all the others diff --git a/scripts/copyparty-repack.sh b/scripts/copyparty-repack.sh index 0551c115..8e8728c8 100755 --- a/scripts/copyparty-repack.sh +++ b/scripts/copyparty-repack.sh @@ -37,7 +37,7 @@ set -e # 23663 copyparty-extras/up2k.py # `- standalone utility to upload or search for files # -# 32280 copyparty-extras/copyparty-fuse.py +# 32280 copyparty-extras/partyfuse.py # `- standalone to mount a URL as a local read-only filesystem # # 270004 copyparty @@ -148,7 +148,7 @@ repack sfx-lite "re no-dd no-cm no-hl gz" # delete extracted source code ( cd copyparty-extras/ mv copyparty-*/bin/up2k.py . -mv copyparty-*/bin/copyparty-fuse.py . +mv copyparty-*/bin/partyfuse.py . cp -pv sfx-lite/copyparty-sfx.py ../copyparty rm -rf copyparty-{0..9}*.*.*{0..9} ) diff --git a/scripts/fusefuzz.py b/scripts/fusefuzz.py index 36884a8e..a8b4a0ae 100755 --- a/scripts/fusefuzz.py +++ b/scripts/fusefuzz.py @@ -6,7 +6,7 @@ import time """ td=/dev/shm/; [ -e $td ] || td=$HOME; mkdir -p $td/fusefuzz/{r,v} PYTHONPATH=.. python3 -m copyparty -v $td/fusefuzz/r::r -i 127.0.0.1 -../bin/copyparty-fuse.py http://127.0.0.1:3923/ $td/fusefuzz/v -cf 2 -cd 0.5 +../bin/partyfuse.py http://127.0.0.1:3923/ $td/fusefuzz/v -cf 2 -cd 0.5 (d="$PWD"; cd $td/fusefuzz && "$d"/fusefuzz.py) """