4 pass_dir
="$HOME/.password-store"
5 backup_dir
="$HOME/pass_bk"
6 [ -d "$backup_dir" ] || mkdir
"$backup_dir"
7 all
=$
(find "$pass_dir" -type f
-iname "*.gpg" -printf '%f\n' |
sed -n 's/\.gpg$//p')
8 all_url
=$
(echo "$all" |
awk -F: '{print $1}')
11 pass
"$i" >> "$backup_dir/$i.txt"
12 pass generate
-f "$i" 25
19 reg
) pass generate
--no-symbols -f "$2" 20;;
21 *) echo "(reg | change)"