Does Linux have an equivalent to "compress to save space" from Windows? I don't need to save space, I want it for a different purpose.
As I mentioned in the title, I'm not looking to save space, I want to test something. In Windows, you could use this option on a folder and still access the contents and run executables while keeping the folder and it's contents compressed. The benefit to doing this, outside of saving space, is that files could potentially be accessed faster on slower storage devices.
As I've been trying to get the most out of some old storage devices I have, I think that something like this would be a great option for this. The only problem is that I've tried looking online for a way to do this but search engines are terrible. So, I'm posting about this here in case someone knows of a way to do this.




Shimitar
in reply to vortexal • • •This is at file system level... Checkout btrfs and zfs, I am quite positive both can compress like you want.
Never used this feature myself, so cannot be more specific.
Also, there are some read-only compressed filesystems for Linux that you can also use, they offer best compression but data is read only.
vortexal
in reply to Shimitar • • •