Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux-- sub-volume compression and decompression     - Android project and coding specifications (Programming)

- Find details block device with Linux blkid command (Linux)

- Android start automatically and add and delete a desktop shortcut (Programming)

- Linux Network Programming - raw socket Example: sending a UDP packet (Programming)

- Integrated security administrator Linux accident management (Linux)

- JavaScript cross-browser event object library (Programming)

- Java foundation comb: Array (Programming)

- Compare Oracle MySQL (ICP) index condition pushdown is described (Database)

- RHEL7 unattended automatic installation DHCP + TFTP + SYSLINUX + TFTP + Kickstart (Linux)

- Management DB2 logs (Database)

- Linux disk virtualization (Linux)

- Git Rebase Tutorial: Using Git Rebase turn back the clock (Linux)

- Configuring Eclipse Note Templates (Linux)

- Linux System Getting Started Learning: In RedHat Linux driver compiled Ixgbe (Linux)

- Use Ansible installation NGINX and NGINX Plus (Server)

- Build Python3.4 + PyQt5.5.1 + Eric6.1.1 development platform under Mac OS X 10.11.1 (Server)

- The Gitlab migrated to Docker container (Server)

- Linux modify environment variables method (Linux)

- Linux system security norms (Linux)

- About Samba certification process and permissions (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:      
 
- RedHat Linux 9.0 under P4VP-MX motherboard graphics resolution of problems (Linux)
- Minimum period string problem (Programming)
- Debian Stable (Jessie 8.1) of normal.mod not found (Linux)
- To install Samba server on CentOS 6.6 (Server)
- Developing a Web server yourself (Server)
- Installation image conversion tool on your Ubuntu Converseen 0.8.1 (Linux)
- Guide: Trickle restrict application bandwidth usage (Linux)
- Installation and deployment of MariaDB under CentOS (Database)
- Justniffer installed on Ubuntu 15.04 (Linux)
- How to create an alternative Android / iOS connected wireless hotspot AP in Ubuntu 15.04 (Linux)
- Bash variable expansion modifier (Programming)
- The Zabbix2.4.5 source compiler installation under Ubuntu 14.04 (Server)
- MySQL function: group_concat () function (Database)
- Linux character device - automatically creates the device nodes and devices (Linux)
- Win7 + Ubuntu Kylin + CentOS 6.5 installed three systems (Linux)
- To share some very useful Vim command (Linux)
- CentOS installation Docker series (Linux)
- RedHat 6 xrdp use remote login interface (Linux)
- Java Foundation - implicit conversion vs cast (Programming)
- Django1.5 Custom User Model (Programming)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.