mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-24 16:55:36 +00:00
cb5c9b63b3
use borg instead attic except at the places where it was used: - as toplevel package name, directory name, file name - to refer to original attic remove sphinx upload make command, will be replaced by github.io site later remove references to binary downloads and linux packages for now remove some software name references, fix grammar use borgbackup rather than borg-backup (or borg) in URLs, less name collision issues, better search results, no validity issues with "-"
13 lines
475 B
Bash
Executable file
13 lines
475 B
Bash
Executable file
#!/bin/bash
|
|
if [ ! -d usage ]; then
|
|
mkdir usage
|
|
fi
|
|
for cmd in change-passphrase check create delete extract info init list mount prune; do
|
|
FILENAME="usage/$cmd.rst.inc"
|
|
LINE=`echo -n borg $cmd | tr 'a-z- ' '-'`
|
|
echo -e ".. _borg_$cmd:\n" > $FILENAME
|
|
echo -e "borg $cmd\n$LINE\n::\n\n" >> $FILENAME
|
|
borg help $cmd --usage-only | sed -e 's/^/ /' >> $FILENAME
|
|
echo -e "\nDescription\n~~~~~~~~~~~\n" >> $FILENAME
|
|
borg help $cmd --epilog-only >> $FILENAME
|
|
done
|