← 返回命令列表

Linux command

tlmgr-backup 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Backup package

tlmgr backup [package]

Backup all packages

tlmgr backup --all

Backup to directory

tlmgr backup --backupdir [/path/to/backup] [package]

Clean old backups

tlmgr backup --clean [days]

说明

tlmgr backup creates backups of TeX Live packages. Useful before updates or system changes. Part of TeX Live Manager.

参数

--all
Backup all installed packages.
--backupdir _dir_
Backup destination directory.
--clean _n_
Remove backups older than n days.
--dry-run
Show what would be done.

FAQ

What is the tlmgr-backup command used for?

tlmgr backup creates backups of TeX Live packages. Useful before updates or system changes. Part of TeX Live Manager.

How do I run a basic tlmgr-backup example?

Run `tlmgr backup [package]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --all do in tlmgr-backup?

Backup all installed packages.