adding Dependencies to readme
This commit is contained in:
parent
303917b56d
commit
898caa14b5
@ -191,7 +191,7 @@ function bobastats {
|
|||||||
else
|
else
|
||||||
echo "name,duration,original_size,compressed_size,deduplicated_size" > borg-stats-$(date +%Y-%m-%d).csv
|
echo "name,duration,original_size,compressed_size,deduplicated_size" > borg-stats-$(date +%Y-%m-%d).csv
|
||||||
for borgarchive in $(borg list --short ./);do
|
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"
|
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
|
done
|
||||||
fi
|
fi
|
||||||
@ -377,7 +377,6 @@ function bobacheckrepo {
|
|||||||
borgrepo="${PWD##*/}"
|
borgrepo="${PWD##*/}"
|
||||||
|
|
||||||
borg check -v .
|
borg check -v .
|
||||||
notify-send "borg check" "Repo $borgrepo checked"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
@ -2,9 +2,15 @@
|
|||||||
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.
|
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.
|
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
|
## 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 :
|
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 :
|
||||||
|
|
||||||
```
|
```
|
||||||
. $HOME/bin/borgaliasandfunctions.txt
|
. $HOME/bin/borgaliasandfunctions.txt
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user