Skip to content

Commit 0fc41bd

Browse files
committed
Tape Archiver compression tool
1 parent b301a04 commit 0fc41bd

File tree

1 file changed

+10
-0
lines changed
  • Shell Scripting Tutorial/tar_compression_tool

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
# Simple compression
4+
tar cvf file1.tar /home/nishkarshraj/Desktop/HelloWorld
5+
du -sh file1.tar
6+
7+
# GNU compression
8+
tar cvzf file2.tar.gz /home/nishkarshraj/Desktop/HelloWorld
9+
du -sh file2.tar.gz
10+

0 commit comments

Comments
 (0)