Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux-- sub-volume compression and decompression     - New features of Java 9 HTTP2 and REPL (Programming)

- impdp error ORA-39001, ORA-39000, ORA-31619 (Database)

- PostgreSQL log classification and management (Database)

- WebLogic 12c Configuration Node Manager Managed Server (Database)

- To build Spring RestTemplate use HttpClient4 (Programming)

- CentOS install video converter FFmpeg and cutting tools segmenter (Linux)

- Android 4.2 compilation notes (Programming)

- MySQL Study of --Percona Server 5.5 Upgrade 5.6 (Database)

- SSH automatic disconnection problem solving (Linux)

- RedHat Linux 6.5 Enterprise Edition installation Redis 3.0.3 (Database)

- Use PDFBox processing PDF documents (Linux)

- Android official recommendation: DialogFragment create dialog (Programming)

- Installation Mesos + Marathon + Zookeeper under CentOS 7 (Server)

- Install Gnome Flashback Classic Desktop on Ubuntu 14.10 / Mint 7 (Linux)

- GitLab issued Merge Request return error 500 when the two solutions log (Linux)

- Zabbix monitors Nginx status (Server)

- Object-oriented language Java some of the basic features (Programming)

- Why learn Java EE (Programming)

- Android and OpenCV2.4.4 build an image processing framework (2013 edition) (Linux)

- Taught you how to install Ubuntu Linux (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:      
 
- Configuring Haproxy log support (syslog logging support) (Server)
- OpenDaylight Helium version installed (Linux)
- Linux redirection and piping (Linux)
- Linux Network Programming --epoll model Detailed principles and examples (Programming)
- How to install Nginx on FreeBSD 10.2 as an Apache reverse proxy (Server)
- Using Vagrant to build multi-platform environment (Server)
- Linux package management (Linux)
- C # Future: Tracking null reference (Programming)
- MySQL function: group_concat () function (Database)
- Distributed transaction management Spring declarative transactions (Programming)
- The default permissions for files and directories under Linux computing (Linux)
- Install Ruby on Rails in Ubuntu 15.04 in (Linux)
- iOS constants, variables, properties and characteristics (Programming)
- Linux Network Programming - libnet Guide (Programming)
- Ora-1092: OPI colleague K aborting process --- killed by OO Well killer (Database)
- Linux Command Tutorial: cat command to view the contents of the file (Linux)
- SecureCRT use the configuration detailed tutorial (Linux)
- SpringMVC garbage processing (Programming)
- Getting CentOS Learning Notes (Linux)
- Common data structures and functions of Linux process scheduling (Programming)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.