|
@@ -130,9 +130,15 @@ echo -e "\n\e[95mPacking & Compressing Files :\e[0m"
|
|
|
cd /home/$USER
|
|
|
SIZE1=`du -sk /home/$USER/.okcash/blk0001.dat | cut -f 1`
|
|
|
SIZE2=`du -sk /home/$USER/.okcash/txleveldb/ | cut -f 1`
|
|
|
-SIZE=$(($SIZE2+$SIZE1+1))
|
|
|
+SIZE=$(($SIZE2+$SIZE1))
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
echo -e "\e[97mTar & PiXz :\e[0m"
|
|
|
-tar cf - .okcash/txleveldb/* .okcash/blk0001.dat | pv -s ${SIZE}k | pixz > bootstrap.tar.xz
|
|
|
+tar cf - .okcash/blk0001.dat .okcash/txleveldb/* | pv -s ${SIZE}k | pixz > bootstrap.tar.xz
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
sleep 1
|
|
|
|
|
|
echo -e "\n\e[95mSplitting Files (${split_size}M):\e[0m"
|