Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux-- sub-volume compression and decompression     - The formatted Linux hard drive and mount (Linux)

- Boot-Repair Tool - repair of frequent start-up problems (Linux)

- The lambda expression Java8 (constructor references) (Programming)

- The signature can not be verified under Debian (Linux)

- In Spring AOP example explanation (Programming)

- How to install open source ITIL portal iTOP on CentOS 7 (Server)

- Linux systems use IP masquerading anti-hacker (Linux)

- Use matplotlib scientific drawing in Linux (Linux)

- 5 fast Node.js application performance tips (Programming)

- Android memory optimization of the optimal load Bitmap (Linux)

- Java inheritance initialization problem (Programming)

- Swift string common method (Programming)

- MariaDB 10 Multi-source replication (Database)

- Understanding the type in C ++ bitset (Programming)

- Linux system Passwd file detailed analysis (Linux)

- Install DB2 V10 and Data Studio V3 under Linux (Ubuntu) environment (Database)

- Oracle 11g statistics collection - collection of multi-column statistics (Database)

- Neo4j map data processing tab (Database)

- Let your PHP 7 faster the Hugepage (Linux)

- Under Ubuntu 15.04 installation JDK8 (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:      
 
- Android Studio interface-related settings (Linux)
- Git Tutorial Comments (Linux)
- Linux operating system log system (Linux)
- Modifying the system registry protection server security (Linux)
- Struts2 dynamic call DMI and error Solution (Programming)
- Good wireless network security information spread in the air (Linux)
- Python implementation Bursa transition model (Programming)
- MySQL in order by inaccurate results in problems and solutions (Database)
- Redhat Close SELinux correct step (Linux)
- Orionode source Linux Mint installation (Linux)
- Ubuntu 14.10 install KDE Plasma 5.2 (Linux)
- Docker commonly used commands Description (Linux)
- Nginx Load Balancing (standby) + Keepalived (Server)
- Java objects to garbage collection (Programming)
- Installation Mate Desktop in FreeBSD 10.1 (Linux)
- CentOS 6.6 install Oracle 11gR2 database (Database)
- Oracle DATABASE LINK (DBLINK) Create (Database)
- Brief Linux commands (Linux)
- Use smem visual display Linux memory usage (Linux)
- After SSH change the default port, how to use Git (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.