New backup 2024-05-02 20:30:01
This commit is contained in:
parent
44af3564e5
commit
06f3e588c2
1 changed files with 6 additions and 3 deletions
|
@ -1,9 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
source ~/.bashrc
|
||||||
#shopt -s checkwinsize
|
#shopt -s checkwinsize
|
||||||
shopt | grep checkwinsize
|
#shopt | grep checkwinsize
|
||||||
|
clear
|
||||||
sudo su pogmom -c ' \
|
sudo su pogmom -c ' \
|
||||||
shopt -s checkwinsize; \
|
#shopt -s checkwinsize; \
|
||||||
shopt | grep checkwinsize; \
|
#shopt | grep checkwinsize; \
|
||||||
|
source ~/.bashrc; \
|
||||||
eval $(ssh-agent); \
|
eval $(ssh-agent); \
|
||||||
for file in $(find ~/.ssh/ -type f -name "id*" -not -name "*.*") ; do \
|
for file in $(find ~/.ssh/ -type f -name "id*" -not -name "*.*") ; do \
|
||||||
if [ -f "$file" ] ; then \
|
if [ -f "$file" ] ; then \
|
||||||
|
|
Loading…
Add table
Reference in a new issue