Scripts: Add AES256 Encrypt and Compress.
This commit is contained in:
1 parent
e801a1f6eb
commit
f695a159b4
4 files changed
+22
No files matched your search
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#! /bin/sh
|
||||
|
||||
filename=${1%.*}
|
||||
|
||||
password=$(zenity --password --title "Decrypt $filename")
|
||||
|
||||
openssl enc -aes-256-cbc -nosalt -d -a \
|
||||
-in $1 -out $filename \
|
||||
-pass pass:$password
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#! /bin/sh
|
||||
|
||||
password=$(zenity --password --title "Encrypt $filename")
|
||||
|
||||
openssl enc -aes-256-cbc -nosalt -a \
|
||||
-in $1 -out $1.enc \
|
||||
-pass pass:$password
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#! /bin/sh
|
||||
|
||||
tar -cvJf - $1 | \
|
||||
tee $1.tar.xz | \
|
||||
zenity --title="Compress $1 (tar.xz)" \
|
||||
--progress --auto-close
|
||||
Reference in new issue
Block a user