Advertisement
PC_Aide

Zip command Debian

Mar 26th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.41 KB | None | 0 0
  1. : '
  2. -----------------------------------------------------------------------------------
  3.     Program Native: no
  4.     apt install -y zip/stable 3.0-11+b1 amd64
  5.    
  6.     Doc: https://linux.die.net/man/1/zip
  7.     O/P:
  8.  
  9.  Syntax: zip [options] zipFile files_list
  10.  
  11.    ----
  12.     Arg-
  13.    ----
  14.     -m: Remove original file
  15.     -u: update
  16. -----------------------------------------------------------------------------------
  17. ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇
  18.  
  19. ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇
  20. ⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫
  21.   mp4:
  22. ⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫
  23. '
  24. #Compress
  25. zip myFile.zip fileName.txt
  26.  
  27. #uncompress
  28. unzip file.zip
  29.  
  30. #Remove org. file (O/P: https://imgur.com/FcHtMiY)
  31. zip -m file.zip fileName.exe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement