Last active
April 1, 2024 01:46
-
-
Save mrroot5/3bed497aad3da0d0478fdbb407799135 to your computer and use it in GitHub Desktop.
Export vivaldi settings on Linux.
This file contains hidden or 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 characters
# 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 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* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment