Votre Nom il y a 1 an
Parent
commit
3335f67f35
1 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. 4 3
      upload_mega.sh

+ 4 - 3
upload_mega.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 set -e
-version=5.5
+version=6.0
 date=26/12/2022
 pi7z_i=""
 swap_was="0"
@@ -9,7 +9,7 @@ pv_i=0
 cifs_i=0
 retry_flag=0
 daemon_on=0
-split_size=200
+split_size=350
 OSV=$(sed 's/\..*//' /etc/debian_version)
 DietPi_="NO"
 if [ $OSV = 8 ];then img_v="Jessie";fi
@@ -214,7 +214,8 @@ echo -e "\n\e[95mPacking & Compressing Files :\e[0m"
 cd /home/$USER
 echo -e "\e[97mCompress & split bootstrap.7z:\e[0m"
 split_size="${split_size}m"
-7z a -m0=lzma -mx9 -mfb=64 -md32m -v$split_size bootstrap .okcash/blk0001.dat .okcash/txleveldb/
+#7z a -m0=lzma -mx9 -mfb=64 -md32m -v$split_size bootstrap .okcash/blk0001.dat .okcash/txleveldb/
+7z a -v$split_size bootstrap .okcash/blk0001.dat .okcash/txleveldb/
 sleep 1
 echo "Done."