Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux-- sub-volume compression and decompression     - Realize screen recording and playback via Linux command (Linux)

- Php and MySQL command add to the environment variable method in Linux system (Linux)

- Distributed transaction management Spring declarative transactions (Programming)

- HTTP Client Hints Introduction (Server)

- Nagios plugin installation tutorial of Nrpe (Linux)

- Docker container plaintext password problem-solving way (Server)

- Linux basic introductory tutorial ---- Software Installation under Linux (Linux)

- HashMap in Android and Java different implementations (Programming)

- Dynamic programming Android (Programming)

- ImageMagick Tutorial: How to cut images in Linux command line (Linux)

- Linux common network tools: traceroute routing of scanned (Linux)

- Oracle 11.2.0.3 and MySQL5.6 DDL comparison (Database)

- C ++ inheritance and derived (induction principle) (Programming)

- Unable to solve the official version of Android Studio online update problem (Linux)

- Linux MultiPath software implementation instructions (Linux)

- Java MVC CRUD examples (Programming)

- MySQL 5.5 on master-slave copy filter (Database)

- Linux kernel modules related to the management Comments (Linux)

- Oracle 11G using DG Broker create DataGuard (Database)

- Check the Linux server performance with ten or so commands in a minute (Server)

 
         
  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:      
 
- ORA-01839 error caused by incorrect system date setting (Database)
- Oracle DataGuard principles and basic configuration (Database)
- map and hash_map STL containers (Programming)
- Linux dd command applies amplification SWAP partition (Linux)
- Hadoop 2.6.0 stand-alone / pseudo-distributed installation (Server)
- To install the latest version of the EPEL on CentOS 5.x or 6.x (Linux)
- Docker Basic and Advanced (Linux)
- Sublime Text 3 using summary (Linux)
- Running into the site-wide HTTPS (Server)
- Java memory analysis tool uses detailed MAT (Programming)
- To explore the Android ListView caching mechanism again (Programming)
- ARM constant expression (Programming)
- Apache site default home page settings (Server)
- Ubuntu 14.04 running ASP.NET Configuration Mono + Jexus (Server)
- GitLab installation configuration notes (Linux)
- Linux - Common process the command (Linux)
- Compile and install the latest version of Redis Stable (Database)
- Why HBase need to build SQL engine layer (Database)
- HBase in MVCC implementation mechanism and its application (Database)
- Java inheritance initialization problem (Programming)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.