Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux-- sub-volume compression and decompression     - Linux non-root user uses less than 1024 ports (Linux)

- Android using shape drawable material production (Programming)

- Articles do not resolve after opening under Ubuntu WordPress setting a fixed link (Server)

- Linux Security Module (LSM) Introduction (Linux)

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

- Use virt-manager to create and manage virtual machines (Linux)

- Java reflection by calling the class method (Programming)

- ElasticSearch basic usage and cluster structures (Server)

- CentOS 7 server environment to quickly build Linux (Server)

- WordPress plug-ins installed in Ubuntu, enter the subject of FTP and not create directory problem (Server)

- To install Cinnamon desktop environment on your Ubuntu 14.04 / 12.04 (Linux)

- How to disable UEFI to install Linux on Win8 (Linux)

- Solve the compatibility problem between Linux and Java at the source in bold font (Linux)

- Linux operating system Samba server configuration and use (Server)

- Vmstat command Linux Performance Monitoring (Linux)

- Linux Programming memory mapping (Programming)

- Arrow keys, backspace key garbled in Python-2.7.5 Interactive Mode under CentOS 5.8 (Linux)

- Easy to get hidden administrator account (Linux)

- Java MVC CRUD examples (Programming)

- Oracle 12C RAC optimizer_adaptive_features cause of data into overtime (Database)

 
         
  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:      
 
- Lazarus for Raspbian installation (Linux)
- OpenGL Superb Learning Notes - New Patterns (Programming)
- Java string equal size comparison (Programming)
- Disable unnecessary services under Linux (Linux)
- PostgreSQL procedural language learning (Database)
- Mhddfs: multiple smaller partitions into one large virtual storage (Linux)
- 10 tips daily Docker (Server)
- Java enum use (Programming)
- RPM package creation Getting Started (Linux)
- Fast Sort Algorithms (Programming)
- Rails project prepared some tips small experience (Linux)
- To setup NOTRACK and TRACK of conntrack in iptables (Linux)
- CentOS 7 Add yum source (Linux)
- WebLogic 12c Configuration Node Manager Managed Server (Database)
- Linux performance monitoring and common commands Introduction (Linux)
- Ubuntu 14.04 build Hadoop 2.5.1 standalone and pseudo-distributed environment (32-bit) (Server)
- Talk about jsonp (Programming)
- Linux basic introductory tutorial ---- Software Installation under Linux (Linux)
- C ++, overloading, cover, hide (Programming)
- CentOS 6.5 three ways to configure the IP address (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.