This might be necessary not sure
This commit is contained in:
parent
86164aff20
commit
222ff1af08
|
@ -66,9 +66,9 @@ crypt -d [encrypted file] [output file] # decrypts files
|
||||||
* Password is never in plain text, and OpenSSL generates key based on password
|
* Password is never in plain text, and OpenSSL generates key based on password
|
||||||
* Data is encrypted in Base64, so it can be used as plain text in an email. (Not usually necessary if attached as a file)
|
* Data is encrypted in Base64, so it can be used as plain text in an email. (Not usually necessary if attached as a file)
|
||||||
|
|
||||||
**Tested With** => .pdf, .txt, .docx, .doc, .png, .jpeg
|
**Tested With** .pdf, .txt, .docx, .doc, .png, .jpeg
|
||||||
|
|
||||||
**CAUTION** => Make sure to use different filenames, otherwise your file will be overwritten!
|
**CAUTION** Make sure to use different filenames, otherwise your file will be overwritten!
|
||||||
|
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
|
@ -116,7 +116,7 @@ while getopts "uv" opt; do
|
||||||
\?)
|
\?)
|
||||||
echo "Invalid option: -$OPTARG" >&2
|
echo "Invalid option: -$OPTARG" >&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
h)
|
h)
|
||||||
help
|
help
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -132,7 +132,7 @@ while getopts "uv" opt; do
|
||||||
:)
|
:)
|
||||||
echo "Option -$OPTARG requires an argument." >&2
|
echo "Option -$OPTARG requires an argument." >&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ while getopts "uv" opt; do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
if [[ $# == 0 ]]; then
|
if [[ $# == "0" ]]; then
|
||||||
getIPWeather
|
getIPWeather
|
||||||
elif [[ $1 == "update" ]]; then
|
elif [[ $1 == "update" ]]; then
|
||||||
update
|
update
|
||||||
|
|
Loading…
Reference in New Issue