disk space shaving
¶ by not another Rob?Via stevenf:
This terminal command will turn every file in the current directory into a zip file of itself (removing the original file):
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
for item in *; do zip -m "${item}.zip" "${item}"; done I recently used it to shave 20 GB off a collection of uncompressed disk images.
me:
:-O
Leave a Reply