> For the complete documentation index, see [llms.txt](https://kawsing.gitbook.io/opensystem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kawsing.gitbook.io/opensystem/andoid-shou-ji/untitled-4/transfer.sh-cong-ming-ling-hang-qing-song-gong-xiang-wen-jian.md).

# transfer.sh從命令行輕鬆共享文件

## 從命令行輕鬆共享文件

{% embed url="<https://transfer.sh/>" %}

簡單一行命令

```
curl --upload-file ./bench.sh https://transfer.sh/bench.sh
https://transfer.sh/zBqMo/bench.sh
```

![](https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-LwLEKKwNbmLcK2PujxE%2F-LwLGzL4qH_hpwlSgVLj%2Fimage.png?alt=media\&token=765852a4-422f-451a-b5c2-058bcd144d18)

### 建置自己的tranfer.sh，用docker 超級輕鬆

```
docker run --publish 8080:8080 dutchcoders/transfer.sh:latest --provider local --basedir /tmp/
```

![](https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-LwLVxHjl3K86d1rZGTs%2F-LwLXJ6RR-2E__TRIHRw%2Fimage.png?alt=media\&token=3246be55-7756-49c4-93d9-03fba9e75f9d)
