win-10-无损调整升级策略

1. 进CMD 修改注册表

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v FlightSettingsMaxPauseDays /t reg_dword /d 36500 /f 
start ms-settings:windowsupdate 


2. 打开「Windows 设置」,前往「更新和安全」-「Windows 更新」,点击「暂停更新 7 天」的按钮, 再高级选项,修改暂停截止日期,直至满足暂停时长的需要。

%号开头的文件重命名-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]