Guest User

Untitled

a guest
May 24th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. $ echo 1 > foo
  2. $ echo 2 > bar
  3. $ echo 3 > baz
  4. $ zip 1.zip foo bar baz
  5. adding: foo (stored 0%)
  6. adding: bar (stored 0%)
  7. adding: baz (stored 0%)
  8. $ rm baz
  9. $ echo 4 > foo
  10. $ zip 2.zip foo bar
  11. adding: foo (stored 0%)
  12. adding: bar (stored 0%)
  13. $ diffoscope --no-progress 1.zip 2.zip
  14. --- 1.zip
  15. +++ 2.zip
  16. ├── zipinfo /dev/stdin
  17. │ @@ -1,5 +1,4 @@
  18. │ -Zip file size: 430 bytes, number of entries: 3
  19. │ --rw-r--r-- 3.0 unx 2 tx stor 18-May-24 03:46 foo
  20. │ +Zip file size: 294 bytes, number of entries: 2
  21. │ +-rw-r--r-- 3.0 unx 2 tx stor 18-May-24 03:47 foo
  22. │ -rw-r--r-- 3.0 unx 2 tx stor 18-May-24 03:46 bar
  23. │ --rw-r--r-- 3.0 unx 2 tx stor 18-May-24 03:46 baz
  24. │ -3 files, 6 bytes uncompressed, 6 bytes compressed: 0.0%
  25. │ +2 files, 4 bytes uncompressed, 4 bytes compressed: 0.0%
  26. ├── foo
  27. │ @@ -1 +1 @@
  28. │ -1
  29. │ +4
Add Comment
Please, Sign In to add comment