ShadowArch/UserScripts/compress-all

13 lines
167 B
Plaintext
Raw Permalink Normal View History

2016-11-09 22:25:00 -06:00
#!/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