Karl Cunningham wrote:
> know how much space would be taken up if all the files in several
> directories (and their subdirectories) were gzipped. This must be done
> on the fly as there isn't enough space to store gzipped versions of all
> the files.
> 
> There's got to be some `find ... | gzip | wc -c` magic that can be done
> here but I haven't found it as yet.




find /startdirectory -type f -exec gzip {} \;


-- 
Mark Wolfe           Lakeside, Ca.           http://www.wolfenet.org
gpg fingerprint = 42B6 EFEB 5414 AA18 01B7  64AC EF46 F7E6 82F6 8C71
"Linux: the operating system with a CLUE... Command Line User
Environment".


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to