Selectively restore local files

This commit is contained in:
Bob Mottram 2016-03-07 17:37:47 +00:00
parent 7aa3930afc
commit dddb128e0a
1 changed files with 36 additions and 34 deletions

View File

@ -954,23 +954,24 @@ function restore_from_usb {
11 $"IPFS" off \
12 $"SSH keys" off \
13 $"User configuration files" off \
14 $"User fin files" off \
15 $"SSL/TLS certificates" off \
16 $"Personal settings" off \
17 $"Mailing List" off \
18 $"XMPP chat" off \
19 $"GNU Social" off \
20 $"Hubzilla" off \
21 $"Owncloud" off \
22 $"Gogs" off \
23 $"Wiki" off \
24 $"Blog" off \
25 $"CJDNS" off \
26 $"Email" off \
27 $"DLNA" off \
28 $"VoIP" off \
29 $"RSS reader" off \
30 $"Tox" off 2> $data
14 $"User local files" off \
15 $"User fin files" off \
16 $"SSL/TLS certificates" off \
17 $"Personal settings" off \
18 $"Mailing List" off \
19 $"XMPP chat" off \
20 $"GNU Social" off \
21 $"Hubzilla" off \
22 $"Owncloud" off \
23 $"Gogs" off \
24 $"Wiki" off \
25 $"Blog" off \
26 $"CJDNS" off \
27 $"Email" off \
28 $"DLNA" off \
29 $"VoIP" off \
30 $"RSS reader" off \
31 $"Tox" off 2> $data
sel=$?
case $sel in
1) break;;
@ -990,23 +991,24 @@ function restore_from_usb {
11) ${PROJECT_NAME}-restore-local $USB_DRIVE ipfs;;
12) ${PROJECT_NAME}-restore-local $USB_DRIVE ssh;;
13) ${PROJECT_NAME}-restore-local $USB_DRIVE userconfig;;
14) ${PROJECT_NAME}-restore-local $USB_DRIVE userfin;;
15) ${PROJECT_NAME}-restore-local $USB_DRIVE certs;;
16) ${PROJECT_NAME}-restore-local $USB_DRIVE personal;;
17) ${PROJECT_NAME}-restore-local $USB_DRIVE mailinglist;;
18) ${PROJECT_NAME}-restore-local $USB_DRIVE xmpp;;
19) ${PROJECT_NAME}-restore-local $USB_DRIVE gnusocial;;
20) ${PROJECT_NAME}-restore-local $USB_DRIVE hubzilla;;
21) ${PROJECT_NAME}-restore-local $USB_DRIVE owncloud;;
22) ${PROJECT_NAME}-restore-local $USB_DRIVE gogs;;
23) ${PROJECT_NAME}-restore-local $USB_DRIVE wiki;;
24) ${PROJECT_NAME}-restore-local $USB_DRIVE blog;;
25) ${PROJECT_NAME}-restore-local $USB_DRIVE cjdns;;
26) ${PROJECT_NAME}-restore-local $USB_DRIVE email;;
27) ${PROJECT_NAME}-restore-local $USB_DRIVE dlna;;
28) ${PROJECT_NAME}-restore-local $USB_DRIVE voip;;
29) ${PROJECT_NAME}-restore-local $USB_DRIVE ttrss;;
30) ${PROJECT_NAME}-restore-local $USB_DRIVE tox;;
14) ${PROJECT_NAME}-restore-local $USB_DRIVE userlocal;;
15) ${PROJECT_NAME}-restore-local $USB_DRIVE userfin;;
16) ${PROJECT_NAME}-restore-local $USB_DRIVE certs;;
17) ${PROJECT_NAME}-restore-local $USB_DRIVE personal;;
18) ${PROJECT_NAME}-restore-local $USB_DRIVE mailinglist;;
19) ${PROJECT_NAME}-restore-local $USB_DRIVE xmpp;;
20) ${PROJECT_NAME}-restore-local $USB_DRIVE gnusocial;;
21) ${PROJECT_NAME}-restore-local $USB_DRIVE hubzilla;;
22) ${PROJECT_NAME}-restore-local $USB_DRIVE owncloud;;
23) ${PROJECT_NAME}-restore-local $USB_DRIVE gogs;;
24) ${PROJECT_NAME}-restore-local $USB_DRIVE wiki;;
25) ${PROJECT_NAME}-restore-local $USB_DRIVE blog;;
26) ${PROJECT_NAME}-restore-local $USB_DRIVE cjdns;;
27) ${PROJECT_NAME}-restore-local $USB_DRIVE email;;
28) ${PROJECT_NAME}-restore-local $USB_DRIVE dlna;;
29) ${PROJECT_NAME}-restore-local $USB_DRIVE voip;;
20) ${PROJECT_NAME}-restore-local $USB_DRIVE ttrss;;
31) ${PROJECT_NAME}-restore-local $USB_DRIVE tox;;
esac
done
any_key