Todos Novo

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Entrar


Todos Novo Entrar

All gists matching topic zfs

Mais recente criado
Menos recente criado
Mais recente atualizado
Menos recente atualizado
admin's Avatar

admin / ~/.bash_functions

0 curtidas
0 bifurcações
1 arquivos
Última atividade 2 months ago
Bash functions to have at initialization of shell session
backup bash fuse gocryptfs mounting snapshotting zfs
1 #!/bin/bash
2 set -euo pipefail
3
4 source .env
5 GOCRYPTFS_PASSFILE=${GOCRYPTFS_ROOT_DIR:-~/.keys/gocrypts}/gocryptfs.key
6 GOCRYPTFS_OUTPUT_MOUNT=${GOCRYPTFS_MOUNT_ROOT:-~/.mnt}
7
8 gcfs-mount () {
9 if [ "$1" == "data" ]; then
10 GOCRYPTFS_CONFIG="${GOCRYPTFS_ROOT_DIR}/data-cipher/gocryptfs.conf"
Próximo Anterior

Desenvolvido por Opengist ⋅ Load: 97ms⋅

Português
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文