76425d84b3
For now it only supports 'list' and 'extract' commands for 'pxar.didx' files. This should be the foundation for a general file-restore interface that is shared with block-level snapshots. This is packaged as a seperate .deb file, since for block level restore it will need to depend on pve-qemu-kvm, which we want to seperate from proxmox-backup-client. [original code for proxmox-file-restore.rs] Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> [code cleanups/clippy, use helpers::list_dir_content/ArchiveEntry, no /block subdir for .fidx files, seperate binary and package] Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
9 lines
329 B
Plaintext
9 lines
329 B
Plaintext
# proxmox-file-restore bash completion
|
|
|
|
# see http://tiswww.case.edu/php/chet/bash/FAQ
|
|
# and __ltrim_colon_completions() in /usr/share/bash-completion/bash_completion
|
|
# this modifies global var, but I found no better way
|
|
COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
|
|
|
|
complete -C 'proxmox-file-restore bashcomplete' proxmox-file-restore
|