updated help in english and french

This commit is contained in:
Djan 2021-10-24 15:46:39 +02:00
parent 7e1bb2a73e
commit df298d0542
1 changed files with 30 additions and 18 deletions

View File

@ -6,29 +6,35 @@ function bobaman {
cat << EOF cat << EOF
BorgBackup alias and functions (by Djan GICQUEL) BorgBackup alias and functions (by Djan GICQUEL)
--- ---
bobals With argument : list all files of an archive bobals With argument, list all files of an archive/Without argument, list archives in repo
Without argument : list achives in repo
bobagrepls List the archives of the repository with a filter as argument bobagrepls List the archives of the repository with a filter as argument
bobainfoa Get information of an archive in argument bobainfoa Get information of an archive in argument
bobainfor Get information of a repository bobainfor Get information of a repository
bobainfolast Get info from last archive bobainfolast Get info from last archive
bobainfotail Get info from first archive
bobainfoall Get info from all archives in the repository (can be long and cpu intensive) bobainfoall Get info from all archives in the repository (can be long and cpu intensive)
bobadurationr Show name and backup duration for all archive in the current repo (can be long and cpu intensive)
bobadur List the name of all archives and sizes (O,C,D) (can be long and cpu intensive) bobadel Delete the archive in argument
bobadelast Delete the last archive in the repository
bobacheckrepo Check the repo consistency without repairing it (to avoid data lost)
bobamount Mount archive in argument in the home dir of the current user bobamount Mount archive in argument in the home dir of the current user
bobamountfirst Mount first archive in the home dir of the current user bobamountfirst Mount first archive in the home dir of the current user
bobamountlast Mount last archive in the home dir of the current user bobamountlast Mount last archive in the home dir of the current user
bobasearchinrepo Search for a file in the repository, the function will display a list of all archives that contain the match bobasearchinrepo Search for a file in the repository, the function will display a list of all archives that contain the match
bobasearchinarchive Search for a file in the archive in argument, displaying full path in the archive bobasearchinarchive Search for a file in the archive in argument, displaying full path in the archive
1st argument : archive,2nd argument : text to find 1st argument: archive, 2nd argument: text to find
bobacachedel Delete the cache dir of a repository (do not delete any archive) bobadurationr Show name and backup duration for all archive in the current repo (can be long and cpu intensive)
bobasecuritydel Delete the security folder from a repository (do not delete any archive) bobadur List the name of all archives and sizes (O, C, D) (can be long and cpu intensive)
bobadel Delete the archive in argument bobalstimes List all archives with dates and times creation
bobadelast Delete the last archive in the repository
bobacheckrepo Check the repo consistencyi without repairing it (to avoid data lost)
bobadeleter Mass archives deleting bobadeleter Mass archives deleting
bobagrepdeleter Mass archives deleting with filter as argument bobagrepdeleter Mass archives deleting with filter as argument
bobarenamer Mass archives renaming bobarenamer Mass archives renaming
bobacachedel Delete the cache dir of a repository (do not delete any archive)
bobasecuritydel Delete the security folder from a repository (do not delete any archive)
bobapassphrase Enter passphrase that will be used all env var by all borg repo in the same terminal
EOF EOF
} }
@ -39,26 +45,32 @@ BorgBackup alias and functions (by Djan GICQUEL)
--- ---
bobals Lister les archives du dépôt bobals Lister les archives du dépôt
bobagrepls Lister les archives du dépôt avec un filtre en argument bobagrepls Lister les archives du dépôt avec un filtre en argument
bobainfoa Obtenir les informations dune archive bobainfoa Obtenir les informations dune archive en argument
bobainfor Obtenir les informations dun dépôt bobainfor Obtenir les informations dun dépôt
bobainfolast Obtenir les informations de la dernière archive bobainfolast Obtenir les informations de la dernière archive
bobainfotail Obtenir les informations des 4 dernières archives
bobainfoall Affiche les infos de toutes les archives du dépôt (peut être long)
bobadel Supprimer l'archive en paramètre bobadel Supprimer l'archive en paramètre
bobadelast Supprimer la dernière archive du dépôt bobadelast Supprimer la dernière archive du dépôt
bobacheckrepo Vérifier la consistance d'un dépôt sans le réparer (pour éviter les pertes de donnée) bobacheckrepo Vérifier la consistance d'un dépôt sans le réparer (pour éviter les pertes de donnée)
bobamount Monter une archive dans le home de l'utilisateur courant
bobamount Monter une archive en paramètre dans le home de l'utilisateur courant
bobamountfirst Monter la première archive dans le home de l'utilisateur courant
bobamountlast Monter la dernière archive dans le home de l'utilisateur courant bobamountlast Monter la dernière archive dans le home de l'utilisateur courant
bobainfolast Afficher les infos de la dernière archive
bobainfoall Affiche les infos de toutes les archives du dépôt (peut être long) bobasearchinrepo Chercher un fichier (en argument) dans le dépôt, affiche le nom de toutes les archives qui contienne le fichier
bobasearchinrepo Chercher un fichier dans le dépôt, la fonction va afficher le nom de toutes les archives qui contienne le fichier
bobasearchinarchive Chercher un fichier dans une archive en argument, affiche le chemin dans l'archive bobasearchinarchive Chercher un fichier dans une archive en argument, affiche le chemin dans l'archive
1er argument : archive,2ème argument : chaîne de caractère à chercher bobadurationr Montrer le nom de toutes les archives et le temps de sauvegarde
bobaduration Montrer le nom des archives et le temps de sauvegarde bobadur Lister le nom de toutes les archives et leurs tailles (originale, compressée, dédupliquée)
bobadur Lister le nom des archive et leurs tailles (originale, compressée, dédupliquée) bobalstimes Lister toutes les archives du dépôt avec les dates et heures de création
bobadeleter Supprimer facilement plusieurs archives d'un dépôt bobadeleter Supprimer facilement plusieurs archives d'un dépôt
bobagrepdeleter Supprimer facilement plusieurs archives d'un dépôt avec un filtre en argument bobagrepdeleter Supprimer facilement plusieurs archives d'un dépôt avec un filtre en argument
bobarenamer Renommer en masses les archives d'un dépôt bobarenamer Renommer en masses les archives d'un dépôt
bobacachedel Supprimer le cache d'un dépôt (ne supprime aucune archive) bobacachedel Supprimer le cache d'un dépôt (ne supprime aucune archive)
bobasecuritydel Supprimer le dossier security d'un dépôt (ne supprime aucune archive) bobasecuritydel Supprimer le dossier security d'un dépôt (ne supprime aucune archive)
bobapassphrase Entrer une phrase de passe en tant que variable d'environnement qui sera utilisé par les dépôts pour le terminal courant
EOF EOF
} }