13 lines
167 B
Plaintext
13 lines
167 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
export IFS="
|
||
|
"
|
||
|
|
||
|
for i in $(find "$PWD" -type d); do
|
||
|
cd "$i";
|
||
|
for j in $(find . -maxdepth 1 -type f); do
|
||
|
echo $i/$j
|
||
|
gzip "$j";
|
||
|
done
|
||
|
done
|