Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux-- sub-volume compression and decompression     - pkg-config to use (Linux)

- Android use canvas board painting (Programming)

- Emacs install clojure development environment (Linux)

- CentOS yum install LAMP (Server)

- namespace mechanism Linux kernel analysis (Linux)

- Compile and install Memcached can not find GCC (Programming)

- Mahout source code analysis: FP-Growth algorithm parallelization (Programming)

- HAproxy let IP recording back-end RS (Server)

- Linux Getting Started tutorial: Experience KVM Virtual Machine chapter (Linux)

- MySQL InnoDB table --BTree basic data structures (Database)

- CentOS 6.5 upgrade to CentOS 7 (Linux)

- Elaborate .NET Multithreading: Concepts (Programming)

- Batch download files using the explorer under Windows Server 2008 R2 (Server)

- Simple and fast sorting (Programming)

- socket busy poll of Linux kernel 3.11 to avoid sleep switch (Linux)

- Linux more efficient than select a model epoll (Linux)

- Zabbix configuration of SNMP (Server)

- GRUB2 boot Ubuntu Manual (Linux)

- Create RAID 1 (mirroring) with two disks (Linux)

- Python 2 Chinese garbage problem solved (Linux)

 
         
  Linux-- sub-volume compression and decompression
     
  Add Date : 2018-11-21      
         
         
         
  Linux-- sub-volume compression and decompression

1, first compress a file directory
root @ linuxhost # tar zcvf apk.tar apk /

2, the file segmentation, -d suffix indicates that the file has been sliced ​​digital distinction (eg apk_2015.tar01, apk_2015.tar02), - b specifies the size of the file after the split, followed by the need to split files, last It is located prefix path and name after splitting files
root @ linuxhost # split -d -b 30000m apk.tar ../apk_2015.tar

3, document effect sliced
root @ linuxhost-172-31-6-97: / dump # ll
total 586332520
drwxr-xr-x 4 uusafe uusafe 4096 Oct 25 18:03 ./
drwxr-xr-x 27 root root 4096 Oct 23 13:25 ../
-rw-r - r-- 1 root root 31457280000 Oct 25 14:19 apk_2015.tar00
-rw-r - r-- 1 root root 31457280000 Oct 25 14:30 apk_2015.tar01
-rw-r - r-- 1 root root 31457280000 Oct 25 14:41 apk_2015.tar02
-rw-r - r-- 1 root root 31457280000 Oct 25 14:51 apk_2015.tar03
-rw-r - r-- 1 root root 31457280000 Oct 25 15:02 apk_2015.tar04
-rw-r - r-- 1 root root 31457280000 Oct 25 15:13 apk_2015.tar05
-rw-r - r-- 1 root root 31457280000 Oct 25 15:23 apk_2015.tar06
-rw-r - r-- 1 root root 31457280000 Oct 25 15:34 apk_2015.tar07
-rw-r - r-- 1 root root 31457280000 Oct 25 15:45 apk_2015.tar08
-rw-r - r-- 1 root root 31457280000 Oct 25 15:55 apk_2015.tar09
-rw-r - r-- 1 root root 31457280000 Oct 25 16:06 apk_2015.tar10
-rw-r - r-- 1 root root 14004787200 Oct 25 16:11 apk_2015.tar11

4, the reduction
 Back jx parameters:
x: Unzip
j: decompression mode specified zip, this is because when a zip front
root @ linuxhost # cat apk_2015.tar * | tar -jx
     
         
         
         
  More:      
 
- 20 Linux commands interview questions and answers (Linux)
- Use MongoDB C # MongoDB official driving operation (Database)
- Simple steps allows you to build a more secure Linux server (Linux)
- Git Getting Started tutorial (Linux)
- How to add two-factor authentication for Linux systems SSH (Linux)
- Java heap (Heap) and stack difference (Programming)
- CentOS 6.5 installation VNCServer implement graphical access (Server)
- ORA-12537: TNS: connection closed error process (Database)
- Installation JDK 1.8 under CentOS7 (Linux)
- Oracle set the timer task JOB scheduler to execute stored procedures or PL / SQL code block (Database)
- How nodeclub constructed Docker image (Server)
- Zabbix monitoring disk IO status (Server)
- 5 steps to help you become a good Docker contributors (Linux)
- CentOS 7 virt-manager can not connect a local hypervisor (Linux)
- Construction Spark source and application development environment (Server)
- Android project and coding specifications (Programming)
- CentOS 6.4 Python 2.6 upgrade to 2.7 (Linux)
- The principle Httpclient4.4 (HttpClient Interface) (Programming)
- Hutchison DG standby database CPU consumption reached bottleneck repair (Database)
- Postgres-X2 deployment steps (Database)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.