ShadowArch/Shared/compress-all
2016-11-09 22:25:00 -06:00

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