Forked from mrroot5/export-vivaldi-settings.sh
Created
April 1, 2024 01:46
Revisions
-
Adrián Garrido revised this gist
Dec 27, 2016 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,12 +13,16 @@ tar -czvf vivaldi-settings.tar.gz ~/.config/vivaldi/Default/ # Do you want to iinstall it? # On Ubuntu 16.04: sudo apt install p7zip-full # 7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on vivaldi-settings.7z ~/.config/vivaldi/Default/ # Explanation: # # t7z: 7z archive # m0=lzma: compression method # mx=9: compression level (ultra) # mfb=64: number of fast bytes for LZMA = 64 # md=32m: dictionary size = 32 megabytes # ms=on: solid archive = on # # See The results # ls -lh vivaldi-settings* -
Adrián Garrido created this gist
Dec 27, 2016 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ # We have two options: # compress in .tar.gz (bigger size) or .7z (about 60% less size). # .tar.gz # tar -czvf vivaldi-settings.tar.gz ~/.config/vivaldi/Default/ # Explanation: # c: create a new archive # z: gzip # v: verbosely list files processed # f: use archive file or device ARCHIVE # # 7z # Do you want to iinstall it? # On Ubuntu 16.04: sudo apt install p7zip-full # 7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on vival-settings.7z ~/.config/vivaldi/Default/ # Explanation: # # t7z: 7z archive # m0=lzma: compression method # mx=9: compression level (ultra) # mfb=64: number of fast bytes for LZMA = 64 # md=32m: dictionary size = 32 megabytes # ms=on: solid archive = on