Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save snowman/f926116d5924ef446b140cdd1f7b468d to your computer and use it in GitHub Desktop.
Save snowman/f926116d5924ef446b140cdd1f7b468d to your computer and use it in GitHub Desktop.
Export vivaldi settings on Linux.
# 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