diff --git a/borgaliasandfunctions.txt b/borgaliasandfunctions.txt index 438684b..6f14007 100644 --- a/borgaliasandfunctions.txt +++ b/borgaliasandfunctions.txt @@ -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" } ############################################################################### diff --git a/readme.md b/readme.md index 39067b1..0b1efe1 100644 --- a/readme.md +++ b/readme.md @@ -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. 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 : ``` . $HOME/bin/borgaliasandfunctions.txt -``` \ No newline at end of file +```