anduin / Autoseed.sh
0 likes
0 forks
3 files
Last active 2 weeks ago
Seed all torrent files under current folder.
1 | #!/usr/bin/env bash |
2 | set -euo pipefail |
3 | |
4 | # ----------------------------------------------------------------------------- |
5 | # 依赖检查:aria2c、tmux 和 ufw(如果存在) |
6 | # ----------------------------------------------------------------------------- |
7 | if ! command -v aria2c &> /dev/null; then |
8 | echo "[INFO] Installing aria2..." |
9 | sudo apt-get update && sudo apt-get install -y aria2 |
10 | fi |
anduin / compare_manifest
0 likes
0 forks
2 files
Last active 4 months ago
Compare two manifest files and list packages present in the first but not the second.
1 | # 保存脚本为 compare_manifests.py,并赋可执行权限 |
2 | chmod +x compare_manifests.py |
3 | |
4 | # 运行脚本,依次传入 Ubuntu、Zorin、Anduin 三个 manifest 文件路径 |
5 | ./compare_manifests.py \ |
6 | "/media/anduin/Ubuntu 25.04 amd64/casper/filesystem.manifest" \ |
7 | "/media/anduin/Zorin OS 17.3 Core 64bit/casper/filesystem.manifest" \ |
8 | "/media/anduin/anduinos/casper/filesystem.manifest" |