adding Dependencies to readme
This commit is contained in:
parent
303917b56d
commit
898caa14b5
@ -191,7 +191,7 @@ function bobastats {
|
||||
else
|
||||
echo "name,duration,original_size,compressed_size,deduplicated_size" > borg-stats-$(date +%Y-%m-%d).csv
|
||||
for borgarchive in $(borg list --short ./);do
|
||||
echo "Precessing "$borgarchive...""
|
||||
echo "Processing "$borgarchive...""
|
||||
borg info --json .::"$borgarchive" | jq -r '.archives[] | [.name,.duration,.stats.original_size,.stats.compressed_size,.stats.deduplicated_size] | @csv' >> "borg-stats-$(date +%Y-%m-%d).csv"
|
||||
done
|
||||
fi
|
||||
@ -377,7 +377,6 @@ function bobacheckrepo {
|
||||
borgrepo="${PWD##*/}"
|
||||
|
||||
borg check -v .
|
||||
notify-send "borg check" "Repo $borgrepo checked"
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -2,6 +2,12 @@
|
||||
Borg alias and functions is designed to facilitate the daily use of BorgBackup. You will have to be in the repository folder to make these aliases and functions work.
|
||||
To display a summary of available functions, type `bobaman` or `bobahelp` in your terminal.
|
||||
|
||||
## Dependencies
|
||||
Of course `borgbackup` must be installed on yout system.
|
||||
In order to mount archives you will need `fusermount`.
|
||||
The command `bobastats` needs `jq`.
|
||||
The command `bobarenamer` and `bobadeleter` needs `paste`.
|
||||
|
||||
## Installation
|
||||
To include this file in your bashrc, place the file in a script folder of your choice (I choose `~/bin/`) and add this line to your bashrc :
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user