Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux-- sub-volume compression and decompression     - Close Pycharm spell check (Programming)

- Golang use Oracle database on Ubuntu 14.04 (Linux)

- Git you do not know about some of the things (Linux)

- Memcached source installation and configuration under CentOS 6.6 (Server)

- Linux nice program origin of the name (Linux)

- How to install Gnome 3.10 in Ubuntu 13.10 (Linux)

- Getting Started with Linux: CentOS7 Install Mono with the yum command (Server)

- To learn linux security (Linux)

- map and hash_map STL containers (Programming)

- HA-Federation-HDFS + Yarn cluster deployment (Server)

- Ubuntu 15.04 using the Eclipse 4.4, Java 8 and WTP (Linux)

- DBCA Error: ORA-19809: limit exceeded for recovery files process (Database)

- CentOS 6.4 (64bit) install Python 2.7.5 (Linux)

- Lua regex (string function) (Programming)

- Servlet 3.0 interfaces of AsyncListener (Programming)

- Linux tar compressed exclude a folder (Linux)

- Analysis of Java exception (Programming)

- SQL in the specific internal Oracle process (Database)

- Install and manage Java under mac (Linux)

- C ++ Const breaking rules (Programming)

 
         
  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:      
 
- Ubuntu 14.04 solved using MyEclipse 10.7 flash back (Linux)
- Google open source TCP team repaired the Linux kernel TCP flaw (Linux)
- How to override the plain text files and directories soft connection in linux (Linux)
- Debian (Wheezy) Install Redmine 2.6 (Programming)
- PF_RING 6.0.2 compiled and installed on Redhat 6.3 x86_64 (Linux)
- Compile and install Ubuntu Linux 4.0.5 kernel, network and fix vmware kernel module compilation error (Linux)
- How do you change the default browser and Email Client in Ubuntu (Linux)
- Oracle 11gr2 new APPEND_VALUES tips (Database)
- MySQL and Oracle time zone settings compare (Database)
- Share Practical Tutorial GitHub (Linux)
- Ubuntu 15.04 installation Powercommands 2.0 (Linux)
- CentOS 6.6 source compiler GCC upgrade to 4.8.2 (Linux)
- 20 Unix / Linux command skills (Linux)
- Linux use glibc2 library and crypt () function to generate the user password (Programming)
- C ++ multithreading and critical resource instance (Programming)
- Java, on the dfile.encoding Systemproperty (Programming)
- To install the Git and Github under Ubuntu (Linux)
- Linux development management utility command (Linux)
- CentOS 6.5 / 6.6 modify the default SSH port number (Linux)
- Java framework for parallel study - ForkJoin (Programming)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.