Changes
Jump to navigation
Jump to search
← Older edit
Compression
(edit)
Revision as of 07:34, 26 April 2019
374 bytes added
,
07:34, 26 April 2019
m
no edit summary
Line 1:
Line 1:
−
== 7z ==
+
=
==7z
=
==
sudo apt install p7zip-full
sudo apt install p7zip-full
7z x -so yourfile.tar.7z | tar xf - -C target_dir
7z x -so yourfile.tar.7z | tar xf - -C target_dir
−
== [[Linux command: tar|tar]] ==
+
=
==[[Linux command: tar|tar]]==
=
+
+
=== rar ===
+
<syntaxhighlight lang="bash">
+
sudo apt install rar
+
</syntaxhighlight>
+
+
==== Compress ====
+
<syntaxhighlight lang="bash">
+
rar a test.rar README.md
+
</syntaxhighlight>
+
+
==== Compress with pasword ====
+
<syntaxhighlight lang="bash">
+
rar a -hp filename.rar file.txt
+
</syntaxhighlight>
+
+
==== Extract ====
+
<syntaxhighlight lang="bash">
+
rar e file.rar
+
</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
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version