%号开头的文件重命名-alpine

apk add perl perl-uri

 

#rename-url-to-chs.sh
#
for file in %*; do
    if [[ -f "$file" ]]; then
        # 使用 Perl 解码文件名
        newname=$(perl -MURI::Escape -e "print uri_unescape('$file');")
        mv "$file" "$newname"
        echo "Renamed: $file -> $newname"
    fi
done

 

win-10-11-driver-backup-by-dism

您可以使用Windows自带工具或第三方软件轻松备份计算机中的驱动程序,以确保系统的稳定性和数据安全。
使用Windows自带工具备份驱动程序
使用DISM命令:
打开命令提示符(以管理员身份运行)。
输入以下命令并按Enter:

mkdir c:\drivers && dism /online /export-driver /destination:c:\drivers

其中,c:\drivers是您希望保存备份的路径,可以根据需要修改

====================================
PC获取硬件标识(Windows篇)
在Windows系统中通过命令行查看当前设备信息,主板UUID,CPU-ID,硬盘序号

wmic csproduct get UUID
wmic cpu get processorid
wmic diskdrive get serialnumber

====================================
另有pnptuils 导出所有驱动程序包:

mkdir c:\drivers_pnp && pnputil /export-driver * c:\drivers_pnp   

参考地址:
https://www.cnblogs.com/suv789/p/17738792.html

重复文件清理工具-doublekiller-dupeGuru

https://www.bigbangenterprises.de/en/doublekiller/

https://dupeguru.voltaicideas.net/ ( https://github.com/arsenetar/dupeguru )

Linux 命令行工具fdupes
$ sudo apt install fdupes [On Debian, Ubuntu and Mint]
$ sudo yum install fdupes [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/fdupes [On Gentoo Linux]
$ sudo apk add fdupes [On Alpine Linux]
$ sudo pacman -S fdupes [On Arch Linux]
$ sudo zypper install fdupes [On OpenSUSE]

Intel 网卡驱动集合 Intel® Ethernet Adapter Complete Driver Pack 修改驱动下载

/cd/I226V-DEV-125C-PRO2500-With-Mod-SHA1-e54551e4cc4d4542b87adf0e2dff53fa0d1e18af.7z

0.下驱动

1.关签名
bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS
bcdedit -set TESTSIGNING ON

2.重启

3. 装驱动

4.开签名
bcdedit -set loadoptions ENABLE_INTEGRITY_CHECKS
bcdedit -set TESTSIGNING OFF

 

Intel 网卡驱动集合

Intel® Ethernet Adapter Complete Driver Pack

https://www.intel.com/content/www/us/en/download/15084/intel-ethernet-adapter-complete-driver-pack.html
https://downloadmirror.intel.com/864790/Release_30.4.2.zip

  • OS Independent, FreeBSD*, Microsoft Windows*, Linux*, VMware*
  • Size: 888.4 MB
  • SHA256: 840549FBD7886CA5050321C08DCCE0ABCFA3507B40C3F6A041865C9C8953ED96

此下载对下面列出的产品有效。

Rustup 镜像 Aliyun

https://developer.aliyun.com/mirror/rustup?spm=a2c6h.13651102.0.0.31c51b11WJh38h
https://rustwiki.org/zh-CN/cargo/getting-started/installation.html

1.


REM [environment]::SetEnvironmentvariable("RUSTUP_DIST_SERVER", "https://mirrors.ustc.edu.cn/rust-static", "User")
REM [environment]::SetEnvironmentvariable("RUSTUP_UPDATE_ROOT", "https://mirrors.ustc.edu.cn/rust-static/ rustup", "User")
# 临时替换
set RUSTUP_UPDATE_ROOT=https://mirrors.aliyun.com/rustup/rustup
set RUSTUP_DIST_SERVER=https://mirrors.aliyun.com/rustup
call rustup-init.exe
call rustup update stable

set RUSTUP_DIST_SERVER=https://mirrors.tuna.tsinghua.edu.cn/rustup
set RUSTUP_UPDATE_ROOT=https://mirrors.tuna.tsinghua.edu.cn/rustup
call rustup-init.exe
call rustup update stable

2.

配置 crates.io 镜像
在 cargo 配置文件: ~/.cargo/config 中,添加以下内容: (Windows 系统配置文件地址默认为:%USERPROFILE%\.cargo\config)

编辑 $CARGO_HOME/config.toml 文件,添加以下内容:


[source.crates-io]
#replace-with = 'tuna'
replace-with = 'mirror'
[source.mirror]
registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git"
[source.tuna]
registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git"



[source.crates-io]
replace-with = 'aliyun' # 指定使用下面哪个源,修改为source.后面的内容即可
#阿里云
[source.aliyun]
registry = "sparse+https://mirrors.aliyun.com/crates.io-index/"
# 中国科学技术大学
[source.ustc]
registry = "https://mirrors.ustc.edu.cn/crates.io-index"
# 上海交通大学
[source.sjtu]
registry = "https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index/"
# 清华大学
[source.tuna]
registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git"
# rustcc社区
[source.rustcc]
registry = "https://code.aliyun.com/rustcc/crates.io-index.git"