Skip to content

Commit 02071ab

Browse files
committed
added tar
1 parent 71a0731 commit 02071ab

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tar.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
3+
# Make a `.tar.gz` file of each directory
4+
5+
```bash
6+
find . -maxdepth 1 -mindepth 1 -type d -exec tar cvzf {}.tar.gz {} \;
7+
```
8+

0 commit comments

Comments
 (0)