Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Linux command: tar
(view source)
Revision as of 08:04, 12 April 2019
92 bytes added
,
08:04, 12 April 2019
m
→Compression
Line 13:
Line 13:
</syntaxhighlight>
</syntaxhighlight>
−
=== .tar.gz exclude files ===
+
===.tar.gz exclude files===
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
tar --exclude='./folder' --exclude='./upload/folder2' -zcvf /backup/filename.tgz .
tar --exclude='./folder' --exclude='./upload/folder2' -zcvf /backup/filename.tgz .
+
tar --exclude='./backup' -zcvf - . | split --bytes=1024MB - backup/content.sdf.backup.tar.gz.
</syntaxhighlight>
</syntaxhighlight>
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version