13 lines
167 B
Bash
Executable File
13 lines
167 B
Bash
Executable File
#!/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
|