小编MrM*_*tin的帖子

wget - 继续重试

通过有问题的连接下载文件时wget失败并重试。但是,它会从零开始重试,并丢弃之前下载的文件部分。

$ wget https://www.example.com/file
file          8%[========>                                                                                               ]   2,45M  78,9KB/s    in 32s     

2020-04-01 15:09:18 (78,9 KB/s) - Connection closed at byte 2965504. Retrying.

file         97%[====================================================================================================>   ]  27,09M  50,8KB/s    in 7m 12s  

2020-04-01 15:16:31 (64,3 KB/s) - Connection closed at byte 28409856. Retrying.

file          3%[===>                                                                                                    ]   1,09M  23,2KB/s    in 48s     
Run Code Online (Sandbox Code Playgroud)

等等

如何让它从原来的位置重新启动,而不是从零开始?我尝试过 wget -c --retry-connrefused,但得到了同样的行为。

bash wget download

10
推荐指数
1
解决办法
8087
查看次数

Linux目录权限

我的网站在第三方服务器上运行,我遇到具有以下权限的目录:

folder1 drwsr-s---
folder2 drwxr-s---
folder3 drwxr-x---
Run Code Online (Sandbox Code Playgroud)

我熟悉 the d、 the r、 the w、 the x(对于文件夹)和-。在编辑时(在 Filezilla 中),似乎所有这些都等于chmod 750.

man chmod告诉我这s代表“执行时设置用户或组 ID”。这意味着什么?它怎么会映射到相同的chmod代码上呢?我应该在服务器上担心这个吗?

unix permissions bash

2
推荐指数
1
解决办法
2788
查看次数

标签 统计

bash ×2

download ×1

permissions ×1

unix ×1

wget ×1