// Create compressed archive tar -cvzpf <backupfile.tar.gz> <source> // Create compressed archive excluding files and directories tar [--exclude='file1.txt'] [--exclude='folder1'] -cvzpf <backupfile.tar.gz> <source> // Extract archive tar -xvf file.tar // Extract compressed archive tar -xzvf file.tar.gz // Extract single directory from archive tar -xzvf file.tar.gz etc // -c create archive // -v verbose // -z compress using gzip // -p preserve permissions // -f file // -x extract
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter