Hi, I like the compress feature, but unlike NTFS, compressing files in btrfs is not so simple. Just changing the flags using chattr will not compress anything, only newly written data would be.
For this reason I decided to create a new tool that makes this simple, you can find it here: https://github.com/benapetr/compress It's very simple to use, for example to compress whole folder, you would do compress -rv <folder_name> the tool would recursively scan the folder, change all folders to +c and copy all files, preserving attributes to a temporary file within folder, then removes the original and move the copied, now fully compressed file back. It's written in python despite I loathe it (I am a C++ programmer), because most of people love it for some reason, any because this would make it more simple for people to deploy it and modify it. The tool right now is in early alpha stage, probably full of bugs, I made it few hours ago, but I would like to hear any feedback, whether there would be any use for such a tool, feature requests etc :) Thanks -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html