Created
February 6, 2018 02:29
-
-
Save rohan-molloy/9dd795a1619d2aa840c9b1b472edaf86 to your computer and use it in GitHub Desktop.
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 characters
sudo tar -cvpz | |
--exclude=/proc \ | |
--exclude=/tmp \ | |
--exclude=/mnt \ | |
--exclude=/dev \ | |
--exclude=/sys \ | |
--exclude=/run \ | |
--exclude=/media \ | |
--exclude=/var/log \ | |
--exclude=/var/cache/apt/archives \ | |
--exclude=/usr/src/linux-headers* \ | |
--exclude=/home/*/.gvfs \ | |
--exclude=/home/*/.cache \ | |
--exclude=/home/*/.local/share/Trash / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment